Shorten liballoc doc intra link while readable

This commit is contained in:
Ivan Tham 2020-08-24 20:02:02 +08:00 committed by GitHub
parent 9d74562432
commit bc7ea6f52e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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")]