Skip to content

Commit

Permalink
Fix typos in E0224
Browse files Browse the repository at this point in the history
  • Loading branch information
jumbatm committed Sep 1, 2020
1 parent 57edf88 commit 5956254
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_error_codes/src/error_codes/E0224.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
A trait object was declaired with no traits.
A trait object was declared with no traits.

Erroneous code example:

Expand All @@ -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;
Expand Down

0 comments on commit 5956254

Please sign in to comment.