Skip to content

Commit

Permalink
Clarify comment about structs and lifetimes
Browse files Browse the repository at this point in the history
FIxes #29742
  • Loading branch information
steveklabnik committed Nov 17, 2015
1 parent 57c8a3e commit dcf7e4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/doc/trpl/lifetimes.md
Expand Up @@ -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> {
Expand Down

0 comments on commit dcf7e4d

Please sign in to comment.