Update elixir.html.markdown

The variable is only bound in the case statements
This commit is contained in:
Jean-Gabriel Young 2016-03-04 11:02:20 -05:00
parent 5ad208e385
commit d88564513f

View File

@ -170,7 +170,7 @@ case {:one, :two} do
{:four, :five} -> {:four, :five} ->
"This won't match" "This won't match"
{:one, x} -> {:one, x} ->
"This will match and bind `x` to `:two`" "This will match and bind `x` to `:two` in this clause"
_ -> _ ->
"This will match any value" "This will match any value"
end end