mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-29 16:13:40 +00:00
Fix typos in E0224
This commit is contained in:
parent
57edf88b40
commit
5956254172
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user