We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec629cc commit dafd2e7Copy full SHA for dafd2e7
rust-version
@@ -1 +1 @@
1
-c28084ac16af4ab594b6860958df140e7c876a13
+8b40a188cee5bef97526dfc271afbd2a98008183
tests/run-pass/ints.rs
@@ -34,11 +34,11 @@ fn match_int() -> i16 {
34
fn match_int_range() -> i64 {
35
let n = 42;
36
match n {
37
- 0...9 => 0,
38
- 10...19 => 1,
39
- 20...29 => 2,
40
- 30...39 => 3,
41
- 40...49 => 4,
+ 0..=9 => 0,
+ 10..=19 => 1,
+ 20..=29 => 2,
+ 30..=39 => 3,
+ 40..=42 => 4,
42
_ => 5,
43
}
44
0 commit comments