Link to #capacity-and-reallocation when using with_capacity

This commit is contained in:
Joshua Nelson 2020-09-03 18:08:25 -04:00
parent 08deb863bd
commit 7b823df489

View File

@ -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:
///
/// ```