Fixed wrong print.

This commit is contained in:
Tal-Chaim
2022-10-08 22:39:44 +03:00
committed by GitHub
parent 055122f4fb
commit d54b651287

View File

@ -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