mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 20:49:41 +00:00
@ -15,7 +15,7 @@ fn match_number(n: i32) {
|
|||||||
println!("match 6 -> 10")
|
println!("match 6 -> 10")
|
||||||
},
|
},
|
||||||
_ => {
|
_ => {
|
||||||
println!("match 11 -> +infinite")
|
println!("match -infinite -> 0 or 11 -> +infinite")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user