mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
rustup for ... deprecation
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
c28084ac16af4ab594b6860958df140e7c876a13
|
||||
8b40a188cee5bef97526dfc271afbd2a98008183
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user