Remove empty vec assertion flow distrupt

Co-authored-by: Joshua Nelson <joshua@yottadb.com>
This commit is contained in:
Ivan Tham 2020-08-29 23:07:40 +08:00 committed by GitHub
parent 12b4cf8c6c
commit 2d1ab83834
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,6 @@
///
/// // 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]);
/// ```