Link to #capacity-and-reallocation
when using with_capacity
This commit is contained in:
parent
08deb863bd
commit
7b823df489
1 changed files with 3 additions and 0 deletions
|
@ -119,6 +119,9 @@ use crate::raw_vec::RawVec;
|
|||
/// 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:
|
||||
///
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue