Link to #capacity-and-reallocation
when using with_capacity
This commit is contained in:
parent
08deb863bd
commit
7b823df489
@ -119,6 +119,9 @@
|
||||
/// 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…
Reference in New Issue
Block a user