Skip to content

Commit d27d801

Browse files
authored
Merge pull request #880 from ciaranmooney/fix/match-example
Added variable back into example.
2 parents 1b6c4b0 + 41cf009 commit d27d801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expressions/match-expr.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Multiple match patterns may be joined with the `|` operator. Each pattern will b
6666
tested in left-to-right sequence until a successful match is found.
6767

6868
```rust
69-
# let x = 9;
69+
let x = 9;
7070
let message = match x {
7171
0 | 1 => "not many",
7272
2 ..= 9 => "a few",

0 commit comments

Comments
 (0)