This commit is contained in:
lcnr 2022-10-21 09:41:14 +02:00 committed by Eric Huss
parent 62fb4e0bcf
commit 6164b63b4a
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ trait Trait<'a, T: 'a> {}
// in the impl header.
// impl<'a, T> Trait<'a, T> for () {}
// 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`.
impl<'a, T> Trait<'a, T> for &'a T {}
```