Update the error message

This commit is contained in:
Carol (Nichols || Goulding) 2016-11-23 11:06:03 -05:00
parent 646707c4b1
commit edf59fbe97
1 changed files with 1 additions and 1 deletions

View File

@ -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, `{}`