diff --git a/src/doc/guide.md b/src/doc/guide.md index 50b64279b50..ad44e55e57d 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -517,7 +517,7 @@ note: in expansion of format_args! :1:1: 3:2 note: in expansion of println! src/hello_world.rs:4:5: 4:42 note: expansion site error: aborting due to previous error -Could not execute process `rustc src/hello_world.rs --crate-type bin --out-dir /home/you/projects/hello_world/target -L /home/you/projects/hello_world/target -L /home/you/projects/hello_world/target/deps` (status=101) +Could not compile `hello_world`. ``` Rust will not let us use a value that has not been initialized. So why let us @@ -532,7 +532,7 @@ in the middle of a string." We add a comma, and then `x`, to indicate that we want `x` to be the value we're interpolating. The comma is used to separate arguments we pass to functions and macros, if you're passing more than one. -When you just use the double curly braces, Rust will attempt to display the +When you just use the curly braces, Rust will attempt to display the value in a meaningful way by checking out its type. If you want to specify the format in a more detailed manner, there are a [wide number of options available](/std/fmt/index.html). For now, we'll just stick to the default: