Link to #capacity-and-reallocation when using with_capacity
This commit is contained in:
@@ -119,6 +119,9 @@ use crate::raw_vec::RawVec;
|
|||||||
/// assert_eq!(vec, [0, 0, 0, 0, 0]);
|
/// assert_eq!(vec, [0, 0, 0, 0, 0]);
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
|
/// For more information, see
|
||||||
|
/// [Capacity and Reallocation](#capacity-and-reallocation).
|
||||||
|
///
|
||||||
/// Use a `Vec<T>` as an efficient stack:
|
/// Use a `Vec<T>` as an efficient stack:
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
|
|||||||
Reference in New Issue
Block a user