Skip to content

Commit

Permalink
update original
Browse files Browse the repository at this point in the history
  • Loading branch information
funkill committed May 14, 2024
1 parent 09828b9 commit f835d56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rustbook-en/src/ch05-02-example-structs.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ If we continue reading the errors, we’ll find this helpful note:
```

Let’s try it! The `println!` macro call will now look like `println!("rect1 is
{:?}", rect1);`. Putting the specifier `:?` inside the curly brackets tells
{rect1:?}");`. Putting the specifier `:?` inside the curly brackets tells
`println!` we want to use an output format called `Debug`. The `Debug` trait
enables us to print our struct in a way that is useful for developers so we can
see its value while we’re debugging our code.
Expand Down

0 comments on commit f835d56

Please sign in to comment.