diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-11-17 11:42:17 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-11-17 11:42:17 -0500 |
| commit | dcf7e4da692661a12113144bebda99f84d76db47 (patch) | |
| tree | e719fe2d7a07a2192af547dcc933dae7a0e2ca48 | |
| parent | 57c8a3e8b6a3200bb01d0ea60e4686a1ecfcb907 (diff) | |
| download | rust-dcf7e4da692661a12113144bebda99f84d76db47.tar.gz rust-dcf7e4da692661a12113144bebda99f84d76db47.zip | |
Clarify comment about structs and lifetimes
FIxes #29742
| -rw-r--r-- | src/doc/trpl/lifetimes.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/trpl/lifetimes.md b/src/doc/trpl/lifetimes.md index 13265ab1eba..68bbd0c9899 100644 --- a/src/doc/trpl/lifetimes.md +++ b/src/doc/trpl/lifetimes.md @@ -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> { |
