diff options
| author | Alexander Cyon <alex.cyon@gmail.com> | 2024-09-02 07:42:38 +0200 |
|---|---|---|
| committer | Alexander Cyon <alex.cyon@gmail.com> | 2024-09-02 07:42:38 +0200 |
| commit | ac69544a175d692dd623fb854261ca64b1b9b802 (patch) | |
| tree | 8b33a587005aa8fec99e4d32a4cebb20496ad6a0 /compiler/rustc_error_codes/src | |
| parent | 78d5c04d9c64a57134e6bd39090847351379e6ae (diff) | |
| download | rust-ac69544a175d692dd623fb854261ca64b1b9b802.tar.gz rust-ac69544a175d692dd623fb854261ca64b1b9b802.zip | |
chore: Fix typos in 'compiler' (batch 1)
Diffstat (limited to 'compiler/rustc_error_codes/src')
| -rw-r--r-- | compiler/rustc_error_codes/src/error_codes/E0582.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_error_codes/src/error_codes/E0582.md b/compiler/rustc_error_codes/src/error_codes/E0582.md index b2cdb509c95..c4aaa17706a 100644 --- a/compiler/rustc_error_codes/src/error_codes/E0582.md +++ b/compiler/rustc_error_codes/src/error_codes/E0582.md @@ -44,7 +44,7 @@ where ``` The latter scenario encounters this error because `Foo::Assoc<'a>` could be implemented by a type that does not use the `'a` parameter, so there is no -guarentee that `X::Assoc<'a>` actually uses `'a`. +guarantee that `X::Assoc<'a>` actually uses `'a`. To fix this we can pass a dummy parameter: ``` |
