Shorten liballoc doc intra link while readable
This commit is contained in:
parent
9d74562432
commit
bc7ea6f52e
1 changed files with 1 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
||||||
//!
|
//!
|
||||||
//! # Examples
|
//! # 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();
|
//! let v: Vec<i32> = Vec::new();
|
||||||
|
@ -50,8 +50,6 @@
|
||||||
//! v[1] = v[1] + 5;
|
//! v[1] = v[1] + 5;
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! [`Vec<T>`]: Vec
|
|
||||||
//! [`new`]: Vec::new
|
|
||||||
//! [`push`]: Vec::push
|
//! [`push`]: Vec::push
|
||||||
|
|
||||||
#![stable(feature = "rust1", since = "1.0.0")]
|
#![stable(feature = "rust1", since = "1.0.0")]
|
||||||
|
|
Loading…
Reference in a new issue