Skip to content

Commit

Permalink
correct the output of a capacity method example
Browse files Browse the repository at this point in the history
  • Loading branch information
kiscad committed Jun 30, 2022
1 parent 10f4ce3 commit 6c3ca7e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions library/alloc/src/string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,11 +317,11 @@ use crate::vec::Vec;
///
/// ```text
/// 0
/// 5
/// 10
/// 20
/// 20
/// 40
/// 8
/// 16
/// 16
/// 32
/// 32
/// ```
///
/// At first, we have no memory allocated at all, but as we append to the
Expand Down

0 comments on commit 6c3ca7e

Please sign in to comment.