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