tidy fix from suggestion
This commit is contained in:
parent
a5d0988a88
commit
012288b922
1 changed files with 3 additions and 3 deletions
|
@ -42,9 +42,9 @@ where
|
||||||
f: F
|
f: F
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
The latter scenario encounters this error because `Foo::Assoc<'a>` could be implemented by a type that does not use
|
The latter scenario encounters this error because `Foo::Assoc<'a>` could be
|
||||||
the `'a` parameter, so there is no guarentee that `X::Assoc<'a>` actually uses
|
implemented by a type that does not use the `'a` parameter, so there is no
|
||||||
`'a`.
|
guarentee that `X::Assoc<'a>` actually uses `'a`.
|
||||||
|
|
||||||
To fix this we can pass a dummy parameter:
|
To fix this we can pass a dummy parameter:
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue