Skip to content

Commit 2d1ab83

Browse files
pickfireJoshua Nelson
and
Joshua Nelson
authored
Remove empty vec assertion flow distrupt
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
1 parent 12b4cf8 commit 2d1ab83

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/alloc/src/vec.rs

-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ use crate::raw_vec::RawVec;
117117
///
118118
/// // The following is equivalent, but potentially slower:
119119
/// let mut vec = Vec::with_capacity(5);
120-
/// assert_eq!(vec, []);
121120
/// vec.resize(5, 0);
122121
/// assert_eq!(vec, [0, 0, 0, 0, 0]);
123122
/// ```

0 commit comments

Comments
 (0)