]> git.lizzy.rs Git - rust.git/commitdiff
Link to section on references when we use the term prior to defining it
authorMichael F. Lamb <mike@datagrok.org>
Thu, 7 Jan 2016 00:04:01 +0000 (16:04 -0800)
committerMichael F. Lamb <mike@datagrok.org>
Thu, 7 Jan 2016 00:06:55 +0000 (16:06 -0800)
src/doc/book/primitive-types.md

index 43b7e67e0389b1d20aa17ceb3df395ff15b39a72..ccfa94ad8bbe394395568d3e9138c8c5c1ad24d1 100644 (file)
@@ -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].