Skip to content

Commit

Permalink
Shorten liballoc doc intra link while readable
Browse files Browse the repository at this point in the history
  • Loading branch information
pickfire authored Aug 24, 2020
1 parent 9d74562 commit bc7ea6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions library/alloc/src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//!
//! # Examples
//!
//! You can explicitly create a [`Vec<T>`] with [`new`]:
//! You can explicitly create a [`Vec`] with [`Vec::new`]:
//!
//! ```
//! let v: Vec<i32> = Vec::new();
Expand Down Expand Up @@ -50,8 +50,6 @@
//! v[1] = v[1] + 5;
//! ```
//!
//! [`Vec<T>`]: Vec
//! [`new`]: Vec::new
//! [`push`]: Vec::push

#![stable(feature = "rust1", since = "1.0.0")]
Expand Down

0 comments on commit bc7ea6f

Please sign in to comment.