Skip to content

Commit d9703df

Browse files
committed
Rollup merge of #29890 - steveklabnik:gh29742, r=Manishearth
FIxes #29742
2 parents b3dadbf + dcf7e4d commit d9703df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/trpl/lifetimes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ reference to an `i32` with the lifetime `'a`’.
116116

117117
# In `struct`s
118118

119-
You’ll also need explicit lifetimes when working with [`struct`][structs]s:
119+
You’ll also need explicit lifetimes when working with [`struct`][structs]s that
120+
contain references:
120121

121122
```rust
122123
struct Foo<'a> {

0 commit comments

Comments
 (0)