book/listings/ch02-guessing-game-tutorial/no-listing-02-without-expect/output.txt

14 lines
500 B
Plaintext
Raw Normal View History

$ cargo build
Compiling guessing_game v0.1.0 (file:///projects/guessing_game)
2021-05-07 01:20:05 +00:00
warning: unused `Result` that must be used
--> src/main.rs:10:5
|
10 | io::stdin().read_line(&mut guess);
2023-02-10 16:01:09 +00:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this `Result` may be an `Err` variant, which should be handled
2023-02-10 15:55:43 +00:00
= note: `#[warn(unused_must_use)]` on by default
2021-09-16 01:49:30 +00:00
warning: `guessing_game` (bin "guessing_game") generated 1 warning
Finished dev [unoptimized + debuginfo] target(s) in 0.59s