Skip to content

Commit

Permalink
Try removing [prim@reference]
Browse files Browse the repository at this point in the history
  • Loading branch information
pickfire authored Aug 30, 2020
1 parent bb5e79c commit 20a6866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]) {
Expand Down

0 comments on commit 20a6866

Please sign in to comment.