From: Michael F. Lamb Date: Thu, 7 Jan 2016 00:04:01 +0000 (-0800) Subject: Link to section on references when we use the term prior to defining it X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=936678adb10b8dee7a9f83d5fc7526c036daddd3;p=rust.git Link to section on references when we use the term prior to defining it --- 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].