Skip to content

Commit 585458c

Browse files
committed
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.)
1 parent 312f5a1 commit 585458c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3617-precise-capturing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ Note that since generic type parameters must have names to be captured with `use
397397

398398
```rust
399399
//@ edition: 2021
400-
fn foo<'t>(_: &'t (), x: impl Sized) -> impl use<T> Sized { x }
400+
fn foo<'t>(_: &'t (), x: impl Sized) -> impl Sized { x }
401401
```
402402

403403
...into this:

0 commit comments

Comments
 (0)