Try removing [prim@reference]
This commit is contained in:
parent
bb5e79cbd1
commit
20a68666d8
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ use crate::raw_vec::RawVec;
|
||||||
/// # Slicing
|
/// # Slicing
|
||||||
///
|
///
|
||||||
/// A `Vec` can be mutable. Slices, on the other hand, are read-only objects.
|
/// A `Vec` can be mutable. Slices, on the other hand, are read-only objects.
|
||||||
/// To get a slice, use [`&`][prim@reference]. Example:
|
/// To get a slice, use [`&`]. Example:
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// fn read_slice(slice: &[usize]) {
|
/// fn read_slice(slice: &[usize]) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue