Skip to content

Commit 012288b

Browse files
committed
tidy fix from suggestion
1 parent a5d0988 commit 012288b

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

compiler/rustc_error_codes/src/error_codes/E0582.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ where
4242
f: F
4343
}
4444
```
45-
The latter scenario encounters this error because `Foo::Assoc<'a>` could be implemented by a type that does not use
46-
the `'a` parameter, so there is no guarentee that `X::Assoc<'a>` actually uses
47-
`'a`.
45+
The latter scenario encounters this error because `Foo::Assoc<'a>` could be
46+
implemented by a type that does not use the `'a` parameter, so there is no
47+
guarentee that `X::Assoc<'a>` actually uses `'a`.
4848

4949
To fix this we can pass a dummy parameter:
5050
```

0 commit comments

Comments
 (0)