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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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