about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-11-17 18:13:06 -0500
committerSteve Klabnik <steve@steveklabnik.com>2015-11-17 18:13:06 -0500
commit370b793969a0cf2f03dfb12ac3cbe7f1fefdf936 (patch)
tree713d45426da2863d027f783fb3e0f749c330bf5c
parent8adfcf1b7c9a4e4c59eebd27027b3379740555e9 (diff)
parentdcf7e4da692661a12113144bebda99f84d76db47 (diff)
downloadrust-370b793969a0cf2f03dfb12ac3cbe7f1fefdf936.tar.gz
rust-370b793969a0cf2f03dfb12ac3cbe7f1fefdf936.zip
Rollup merge of #29890 - steveklabnik:gh29742, r=Manishearth
FIxes #29742
-rw-r--r--src/doc/trpl/lifetimes.md3
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> {