Fixed wrong print.
This commit is contained in:
parent
055122f4fb
commit
d54b651287
|
@ -15,7 +15,7 @@ fn match_number(n: i32) {
|
|||
println!("match 6 -> 10")
|
||||
},
|
||||
_ => {
|
||||
println!("match 11 -> +infinite")
|
||||
println!("match -infinite -> 0 or 11 -> +infinite")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -116,4 +116,4 @@ fn main() {
|
|||
}
|
||||
````
|
||||
|
||||
> You can find the solutions [here](https://github.com/sunface/rust-by-practice)(under the solutions path), but only use it when you need it
|
||||
> You can find the solutions [here](https://github.com/sunface/rust-by-practice)(under the solutions path), but only use it when you need it
|
||||
|
|
Loading…
Reference in New Issue