diff options
| author | jumbatm <30644300+jumbatm@users.noreply.github.com> | 2020-08-25 22:20:03 +1000 |
|---|---|---|
| committer | jumbatm <30644300+jumbatm@users.noreply.github.com> | 2020-09-01 23:05:56 +1000 |
| commit | 5956254172ab2bb6fd7c98faf51509925341c321 (patch) | |
| tree | cac34aab1bcfe69538171051df89c35a45014619 /compiler/rustc_error_codes | |
| parent | 57edf88b400ff6c6ae1de255fbd7e3448aca4fb2 (diff) | |
| download | rust-5956254172ab2bb6fd7c98faf51509925341c321.tar.gz rust-5956254172ab2bb6fd7c98faf51509925341c321.zip | |
Fix typos in E0224
Diffstat (limited to 'compiler/rustc_error_codes')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0224.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0224.md b/compiler/rustc_error_codes/src/error_codes/E0224.md index fd89c1d5256..628488575b2 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0224.md +++ b/compiler/rustc_error_codes/src/error_codes/E0224.md @@ -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; |
