diff options
| author | Aaklo Xu <aakloxu@gmail.com> | 2016-05-21 14:40:57 +0800 |
|---|---|---|
| committer | Aaklo Xu <aakloxu@gmail.com> | 2016-05-21 14:40:57 +0800 |
| commit | 4c7b963862edb720c8426e5c536191e4e287f2bd (patch) | |
| tree | 8aa94d9c3898215ca79bb849d50df2ed4e82e4ae | |
| parent | 01da14b149ad3cde321d327c31092fd284d7d73e (diff) | |
| download | rust-4c7b963862edb720c8426e5c536191e4e287f2bd.tar.gz rust-4c7b963862edb720c8426e5c536191e4e287f2bd.zip | |
src/doc: Keep the original style of links
| -rw-r--r-- | src/doc/book/primitive-types.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/book/primitive-types.md b/src/doc/book/primitive-types.md index 330e3bf6a61..b6a123bb367 100644 --- a/src/doc/book/primitive-types.md +++ b/src/doc/book/primitive-types.md @@ -171,7 +171,7 @@ and a length. ## Slicing syntax You can use a combo of `&` and `[]` to create a slice from various things. The -`&` indicates that slices are similar to [references][references], which we will cover in +`&` indicates that slices are similar to [references], which we will cover in detail later in this section. The `[]`s, with a range, let you define the length of the slice: @@ -196,7 +196,7 @@ documentation][slice]. 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`. We'll elaborate further when we cover -[Strings][strings] and [references][references]. +[Strings][strings] and [references]. [dst]: unsized-types.html [strings]: strings.html |
