Skip to content

Commit 40291d1

Browse files
author
WaySLOG
committed
Merge pull request #145 from lambdaplus/dev
fix an issue
2 parents 4001c2f + 750061e commit 40291d1

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)