Skip to content

Commit a6d3fc1

Browse files
craiglyonsjosevalim
authored andcommitted
Update pattern-matching.markdown (elixir-lang#775)
1 parent d3a277a commit a6d3fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getting-started/pattern-matching.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ If a variable is mentioned more than once in a pattern, all references should bi
154154

155155
```iex
156156
iex> {x, x} = {1, 1}
157-
1
157+
{1, 1}
158158
iex> {x, x} = {1, 2}
159159
** (MatchError) no match of right hand side value: {1, 2}
160160
```

0 commit comments

Comments
 (0)