diff options
| author | Ivan Tham <pickfire@riseup.net> | 2020-08-29 23:07:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-29 23:07:40 +0800 |
| commit | 2d1ab838342c880892a5243bf338b7ead7472928 (patch) | |
| tree | 93439a064e374d6e360036581f7a1f8e536d7051 | |
| parent | 12b4cf8c6c79239cd7c3c2e7dbb2ea97351da02e (diff) | |
| download | rust-2d1ab838342c880892a5243bf338b7ead7472928.tar.gz rust-2d1ab838342c880892a5243bf338b7ead7472928.zip | |
Remove empty vec assertion flow distrupt
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
| -rw-r--r-- | library/alloc/src/vec.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs index c2b835bcf33..277183c120d 100644 --- a/library/alloc/src/vec.rs +++ b/library/alloc/src/vec.rs @@ -117,7 +117,6 @@ use crate::raw_vec::RawVec; /// /// // The following is equivalent, but potentially slower: /// let mut vec = Vec::with_capacity(5); -/// assert_eq!(vec, []); /// vec.resize(5, 0); /// assert_eq!(vec, [0, 0, 0, 0, 0]); /// ``` |
