We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5576f0 commit 3dca4b2Copy full SHA for 3dca4b2
src/trait-bounds.md
@@ -221,7 +221,7 @@ trait Trait<'a, T: 'a> {}
221
// in the impl header.
222
// impl<'a, T> Trait<'a, T> for () {}
223
224
-// This compiles as `T: 'a` is implied by the self type `&'a ()`.
+// This compiles as `T: 'a` is implied by the self type `&'a T`.
225
impl<'a, T> Trait<'a, T> for &'a T {}
226
```
227
0 commit comments