Skip to content

Commit 4820806

Browse files
author
José Valim
committed
Merge pull request #1867 from christhekeele/fix-macro-env-doc-typo
s/wether/whether
2 parents 38f7d70 + 4914c49 commit 4820806

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/macro/env.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ defmodule Macro.Env do
5656
end
5757

5858
@doc """
59-
Returns wether the compilation environment is currently
59+
Returns whether the compilation environment is currently
6060
inside a guard.
6161
"""
6262
def in_guard?(record), do: context(record) == :guard
6363

6464
@doc """
65-
Returns wether the compilation environment is currently
65+
Returns whether the compilation environment is currently
6666
inside a match clause.
6767
"""
6868
def in_match?(record), do: context(record) == :match

0 commit comments

Comments
 (0)