src/doc: Keep the original style of links
This commit is contained in:
parent
01da14b149
commit
4c7b963862
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user