Skip to content

Commit 4c7b963

Browse files
committed
src/doc: Keep the original style of links
1 parent 01da14b commit 4c7b963

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/book/primitive-types.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ and a length.
171171
## Slicing syntax
172172

173173
You can use a combo of `&` and `[]` to create a slice from various things. The
174-
`&` indicates that slices are similar to [references][references], which we will cover in
174+
`&` indicates that slices are similar to [references], which we will cover in
175175
detail later in this section. The `[]`s, with a range, let you define the
176176
length of the slice:
177177

@@ -196,7 +196,7 @@ documentation][slice].
196196
Rust’s `str` type is the most primitive string type. As an [unsized type][dst],
197197
it’s not very useful by itself, but becomes useful when placed behind a
198198
reference, like `&str`. We'll elaborate further when we cover
199-
[Strings][strings] and [references][references].
199+
[Strings][strings] and [references].
200200

201201
[dst]: unsized-types.html
202202
[strings]: strings.html

0 commit comments

Comments
 (0)