Skip to content

Commit 370b793

Browse files
committed
Rollup merge of #29890 - steveklabnik:gh29742, r=Manishearth
FIxes #29742
2 parents 8adfcf1 + dcf7e4d commit 370b793

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/doc/trpl/lifetimes.md

+2-1
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)