Ch. 2: intentionally use `{}` at first

This supports the prose in the guessing game tutorial, which uses this
as a way of teaching where you can do `{foo}` and where you cannot.
This commit is contained in:
Chris Krycho 2024-04-19 13:02:17 -06:00
parent 523d960984
commit 502d012cab
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ fn main() {
// ANCHOR_END: expect
// ANCHOR: print_guess
println!("You guessed: {guess}");
println!("You guessed: {}", guess);
// ANCHOR_END: print_guess
}
// ANCHOR: all