Skip to content

Commit 5956254

Browse files
committed
Fix typos in E0224
1 parent 57edf88 commit 5956254

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_error_codes/src/error_codes

1 file changed

+2
-2
lines changed

compiler/rustc_error_codes/src/error_codes/E0224.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
A trait object was declaired with no traits.
1+
A trait object was declared with no traits.
22

33
Erroneous code example:
44

@@ -8,7 +8,7 @@ type Foo = dyn 'static +;
88

99
Rust does not currently support this.
1010

11-
To solve ensure the the trait object has at least one trait:
11+
To solve, ensure that the trait object has at least one trait:
1212

1313
```
1414
type Foo = dyn 'static + Copy;

0 commit comments

Comments
 (0)