rustup for ... deprecation

This commit is contained in:
Ralf Jung
2019-06-01 10:04:49 +02:00
parent ec629cc0d5
commit dafd2e7202
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1 +1 @@
c28084ac16af4ab594b6860958df140e7c876a13
8b40a188cee5bef97526dfc271afbd2a98008183
+5 -5
View File
@@ -34,11 +34,11 @@ fn match_int() -> i16 {
fn match_int_range() -> i64 {
let n = 42;
match n {
0...9 => 0,
10...19 => 1,
20...29 => 2,
30...39 => 3,
40...49 => 4,
0..=9 => 0,
10..=19 => 1,
20..=29 => 2,
30..=39 => 3,
40..=42 => 4,
_ => 5,
}
}