Skip to content

Commit be79bbf

Browse files
committed
Fixed doc typos. Fixed unused function arg.
1 parent 89f651f commit be79bbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/behaviour.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
defmodule Behaviour do
22
@moduledoc """
3-
Utilities for defining behaviour intefaces.
3+
Utilities for defining behaviour interfaces.
44
55
Behaviours can be referenced by other modules
66
to ensure they implement required callbacks.
@@ -92,7 +92,7 @@ defmodule Behaviour do
9292
end
9393
end
9494

95-
defp do_callback(kind, name, args, docs_name, docs_arity, docs_args, return, guards, caller) do
95+
defp do_callback(kind, name, args, docs_name, docs_arity, _docs_args, return, guards, caller) do
9696
Enum.each args, fn
9797
{ :::, _, [left, right] } ->
9898
ensure_not_default(left)

0 commit comments

Comments
 (0)