mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-24 05:13:29 +08:00
14 lines
501 B
Plaintext
14 lines
501 B
Plaintext
|
$ cargo build
|
||
|
Compiling guessing_game v0.1.0 (file:///projects/guessing_game)
|
||
|
warning: unused `Result` that must be used
|
||
|
--> src/main.rs:10:5
|
||
|
|
|
||
|
10 | io::stdin().read_line(&mut guess);
|
||
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||
|
|
|
||
|
= note: `#[warn(unused_must_use)]` on by default
|
||
|
= note: this `Result` may be an `Err` variant, which should be handled
|
||
|
|
||
|
warning: `guessing_game` (bin "guessing_game") generated 1 warning
|
||
|
Finished dev [unoptimized + debuginfo] target(s) in 0.59s
|