]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/tests/vec.rs
vec: Use SpecCloneIntoVec::clone_into to implement Vec::clone_from
[rust.git] / library / alloc / tests / vec.rs
index 87adcead8f62d69ba7dbcdcb4c5f331aa276b414..2f07c2911a50264aee57ab1a67b966a869045ef3 100644 (file)
@@ -1849,7 +1849,7 @@ fn next_then_drop<I: Iterator>(mut i: I) {
     }
 
     // Test that, if we reserved enough space, adding and removing elements does not
-    // invalidate references into the vector (such as `v0`).  This test also
+    // invalidate references into the vector (such as `v0`). This test also
     // runs in Miri, which would detect such problems.
     // Note that this test does *not* constitute a stable guarantee that all these functions do not
     // reallocate! Only what is explicitly documented at