mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Merge pull request #2173 from jg-you/patch-1
[exlixir/en] Unclear statement on variable scope
This commit is contained in:
commit
a7da2cedb6
@ -170,7 +170,7 @@ case {:one, :two} do
|
||||
{:four, :five} ->
|
||||
"This won't match"
|
||||
{: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"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user