mirror of https://github.com/rust-lang/book
Update the error message
This commit is contained in:
parent
646707c4b1
commit
edf59fbe97
|
@ -223,7 +223,7 @@ fn main() {
|
|||
If we run this, we get an error with this core message:
|
||||
|
||||
```bash
|
||||
error: the trait bound `Rectangle: std::fmt::Display` is not satisfied
|
||||
error[E0277]: the trait bound `Rectangle: std::fmt::Display` is not satisfied
|
||||
```
|
||||
|
||||
The `println!` macro can do many kinds of formatting, and by default, `{}`
|
||||
|
|
Loading…
Reference in New Issue