tidy fix from suggestion

This commit is contained in:
Oliver Killane 2024-05-15 01:15:36 +01:00
parent a5d0988a88
commit 012288b922

View File

@ -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:
``` ```