Remove stray `use<T>`

We had included one `use<T>` in a pre-migration example when it should
have only appeared in a post-migration example.  Let's fix this error.

(Thanks to @kennytm for pointing this out.)
This commit is contained in:
Travis Cross 2024-04-24 14:24:17 +00:00
parent 312f5a1407
commit 585458cc82
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ Note that since generic type parameters must have names to be captured with `use
```rust
//@ edition: 2021
fn foo<'t>(_: &'t (), x: impl Sized) -> impl use<T> Sized { x }
fn foo<'t>(_: &'t (), x: impl Sized) -> impl Sized { x }
```
...into this: