Try removing [prim@reference]

This commit is contained in:
Ivan Tham 2020-08-30 09:17:22 +08:00 committed by GitHub
parent bb5e79cbd1
commit 20a68666d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]) {