about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael F. Lamb <mike@datagrok.org>2016-01-06 16:04:01 -0800
committerMichael F. Lamb <mike@datagrok.org>2016-01-06 16:06:55 -0800
commit936678adb10b8dee7a9f83d5fc7526c036daddd3 (patch)
tree87e2e147cdbbed59c46c91ae238a5761ddf576bf
parent3557e6941dd99f22fd0ff9d2685d3807e92d17a5 (diff)
downloadrust-936678adb10b8dee7a9f83d5fc7526c036daddd3.tar.gz
rust-936678adb10b8dee7a9f83d5fc7526c036daddd3.zip
Link to section on references when we use the term prior to defining it
-rw-r--r--src/doc/book/primitive-types.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/doc/book/primitive-types.md b/src/doc/book/primitive-types.md
index 43b7e67e038..ccfa94ad8bb 100644
--- a/src/doc/book/primitive-types.md
+++ b/src/doc/book/primitive-types.md
@@ -192,11 +192,13 @@ documentation][slice].
 # `str`
 
 Rust’s `str` type is the most primitive string type. As an [unsized type][dst],
-it’s not very useful by itself, but becomes useful when placed behind a reference,
-like [`&str`][strings]. As such, we’ll just leave it at that.
+it’s not very useful by itself, but becomes useful when placed behind a
+reference, like `&str`. We'll elaborate further when we cover
+[Strings][strings] and [references][].
 
 [dst]: unsized-types.html
 [strings]: strings.html
+[references]: references-and-borrowing.html
 
 You can find more documentation for `str` [in the standard library
 documentation][str].