Skip to content

Commit d61f380

Browse files
committed
Move footnote reference outside of colon
We placed the reference to our footnote about how `Captures` can be defined in various ways inside of the colon that leads into the example. Since this footnote is really about the example itself rather than about the text introducing the example, let's put the reference to the footnote outside of the colon. This looks a bit better typographically anyway.
1 parent 4707b0c commit d61f380

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/3498-lifetime-capture-rules-2024.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ The correct way to express the capture of lifetime parameters in Rust 2021 is wi
151151
fn foo<'a>(x: &'a ()) -> impl Sized { x }
152152
```
153153

154-
We could solve the problem in this way using the `Captures` trick[^captures-trait]:
154+
We could solve the problem in this way using the `Captures` trick:[^captures-trait]
155155

156156
```rust
157157
trait Captures<U> {}

0 commit comments

Comments
 (0)