Skip to content

Commit 0acfd32

Browse files
authored
Merge pull request #759 from RalfJung/rustup
rustup for ... deprecation
2 parents ec629cc + dafd2e7 commit 0acfd32

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c28084ac16af4ab594b6860958df140e7c876a13
1+
8b40a188cee5bef97526dfc271afbd2a98008183

tests/run-pass/ints.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ fn match_int() -> i16 {
3434
fn match_int_range() -> i64 {
3535
let n = 42;
3636
match n {
37-
0...9 => 0,
38-
10...19 => 1,
39-
20...29 => 2,
40-
30...39 => 3,
41-
40...49 => 4,
37+
0..=9 => 0,
38+
10..=19 => 1,
39+
20..=29 => 2,
40+
30..=39 => 3,
41+
40..=42 => 4,
4242
_ => 5,
4343
}
4444
}

0 commit comments

Comments
 (0)