Fix typos in E0224

This commit is contained in:
jumbatm 2020-08-25 22:20:03 +10:00
parent 57edf88b40
commit 5956254172

View file

@ -1,4 +1,4 @@
A trait object was declaired with no traits.
A trait object was declared with no traits.
Erroneous code example:
@ -8,7 +8,7 @@ type Foo = dyn 'static +;
Rust does not currently support this.
To solve ensure the the trait object has at least one trait:
To solve, ensure that the trait object has at least one trait:
```
type Foo = dyn 'static + Copy;