1
Fork 0

Clarify comment about structs and lifetimes

FIxes #29742
This commit is contained in:
Steve Klabnik 2015-11-17 11:42:17 -05:00
parent 57c8a3e8b6
commit dcf7e4da69

View file

@ -116,7 +116,8 @@ reference to an `i32` with the lifetime `'a`.
# In `struct`s
Youll also need explicit lifetimes when working with [`struct`][structs]s:
Youll also need explicit lifetimes when working with [`struct`][structs]s that
contain references:
```rust
struct Foo<'a> {