We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e9cc99 + 81b90bd commit 54eb0aaCopy full SHA for 54eb0aa
src/doc/trpl/guessing-game.md
@@ -86,7 +86,7 @@ fn main() {
86
.ok()
87
.expect("Failed to read line");
88
89
- println!("You guessed: {}", input);
+ println!("You guessed: {}", guess);
90
}
91
```
92
@@ -302,12 +302,12 @@ project.
302
There’s just one line of this first example left:
303
304
```rust,ignore
305
306
307
308
309
This prints out the string we saved our input in. The `{}`s are a placeholder,
310
-and so we pass it `input` as an argument. If we had multiple `{}`s, we would
+and so we pass it `guess` as an argument. If we had multiple `{}`s, we would
311
pass multiple arguments:
312
313
```rust
0 commit comments