mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Shorten liballoc doc intra link while readable
This commit is contained in:
parent
9d74562432
commit
bc7ea6f52e
@ -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();
|
||||
@ -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")]
|
||||
|
Loading…
Reference in New Issue
Block a user