Rollup merge of #29890 - steveklabnik:gh29742, r=Manishearth
FIxes #29742
This commit is contained in:
commit
370b793969
@ -116,7 +116,8 @@ reference to an `i32` with the lifetime `'a`’.
|
||||
|
||||
# In `struct`s
|
||||
|
||||
You’ll also need explicit lifetimes when working with [`struct`][structs]s:
|
||||
You’ll also need explicit lifetimes when working with [`struct`][structs]s that
|
||||
contain references:
|
||||
|
||||
```rust
|
||||
struct Foo<'a> {
|
||||
|
Loading…
x
Reference in New Issue
Block a user