mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-21 22:34:05 +00:00
tidy fix from suggestion
This commit is contained in:
parent
a5d0988a88
commit
012288b922
@ -42,9 +42,9 @@ where
|
||||
f: F
|
||||
}
|
||||
```
|
||||
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`.
|
||||
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`.
|
||||
|
||||
To fix this we can pass a dummy parameter:
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user