Skip to content

Commit

Permalink
Link to #capacity-and-reallocation when using with_capacity
Browse files Browse the repository at this point in the history
  • Loading branch information
jyn514 committed Sep 3, 2020
1 parent 08deb86 commit 7b823df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/alloc/src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
///
/// ```
Expand Down

0 comments on commit 7b823df

Please sign in to comment.