mirror of https://github.com/rust-lang/rust.git
Try removing [prim@reference]
This commit is contained in:
parent
bb5e79cbd1
commit
20a68666d8
|
@ -159,7 +159,7 @@ use crate::raw_vec::RawVec;
|
|||
/// # Slicing
|
||||
///
|
||||
/// 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]) {
|
||||
|
|
Loading…
Reference in New Issue