diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs index 50d2467d15178..1af31bdbe2fdc 100644 --- a/library/alloc/src/vec.rs +++ b/library/alloc/src/vec.rs @@ -121,6 +121,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` as an efficient stack: /// /// ```