Skip to content

Commit 750061e

Browse files
committed
modify an issue
1 parent 4001c2f commit 750061e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

09-match/09-02-pattern.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ let ref mut mrx = x;
154154
```
155155
let x = 1u32;
156156
match x {
157-
e @ 1 ... 5 | e @ 10..15 => println!("get:{}", e),
157+
e @ 1 ... 5 | e @ 10 ... 15 => println!("get:{}", e),
158158
_ => (),
159159
}
160160
```

0 commit comments

Comments
 (0)