Skip to content

Commit ab4c43a

Browse files
diogobarachoJosé Valim
authored and
José Valim
committed
Fix warning that "msg" is unused (elixir-lang#1329)
1 parent c914d19 commit ab4c43a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/processes.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ iex> send self(), {:hello, "world"}
5555
{:hello, "world"}
5656
iex> receive do
5757
...> {:hello, msg} -> msg
58-
...> {:world, msg} -> "won't match"
58+
...> {:world, _msg} -> "won't match"
5959
...> end
6060
"world"
6161
```

0 commit comments

Comments
 (0)