correct the output of a capacity method example

This commit is contained in:
mojave2 2022-06-30 21:10:28 +08:00
parent 10f4ce324b
commit 6c3ca7e418

View File

@ -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