Rollup merge of #25148 - banks:master, r=steveklabnik
Let me know if I didn't follow correct procedure - seems a trivial change and no one that can be automatically tested.
This commit is contained in:
commit
414e37f3d4
1 changed files with 3 additions and 3 deletions
|
|
@ -86,7 +86,7 @@ fn main() {
|
|||
.ok()
|
||||
.expect("Failed to read line");
|
||||
|
||||
println!("You guessed: {}", input);
|
||||
println!("You guessed: {}", guess);
|
||||
}
|
||||
```
|
||||
|
||||
|
|
@ -302,12 +302,12 @@ project.
|
|||
There’s just one line of this first example left:
|
||||
|
||||
```rust,ignore
|
||||
println!("You guessed: {}", input);
|
||||
println!("You guessed: {}", guess);
|
||||
}
|
||||
```
|
||||
|
||||
This prints out the string we saved our input in. The `{}`s are a placeholder,
|
||||
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
|
||||
pass multiple arguments:
|
||||
|
||||
```rust
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue