Skip to content

Commit c961a73

Browse files
author
José Valim
committed
Fix build and remove warnings
1 parent 2bafb17 commit c961a73

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: lib/elixir/lib/exception.ex

-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ defmodule Exception do
155155
{ module, function, arity_or_args, location } |
156156
{ function, arity_or_args, location }
157157

158-
@typep function :: atom
159158
@typep arity_or_args :: non_neg_integer | list
160159
@typep location :: Keyword.t
161160

Diff for: lib/elixir/lib/version.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ defmodule Version do
140140
case Version.Parser.parse_requirement(requirement) do
141141
{ :ok, _req } ->
142142
true
143-
{ :error, reason } ->
143+
{ :error, _reason } ->
144144
false
145145
end
146146
end

0 commit comments

Comments
 (0)