Skip to content

Commit

Permalink
Rollup merge of #75874 - pickfire:patch-3, r=jyn514
Browse files Browse the repository at this point in the history
Shorten liballoc doc intra link while readable

r? @jyn514

Do you want to reviews these sort of pull requests in the future? I might send a few of them while reading vec code.
  • Loading branch information
Dylan-DPC committed Aug 29, 2020
2 parents d17db64 + bc7ea6f commit 75d6b10
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 75d6b10

Please sign in to comment.