]> git.lizzy.rs Git - rust.git/blobdiff - src/liballoc/raw_vec/tests.rs
Tiny Vecs are dumb.
[rust.git] / src / liballoc / raw_vec / tests.rs
index e7ab8a305d2797c83e5cf399dfc007bf581565b5..17622d72a059c2e99266c23f7e489023bdea8f7c 100644 (file)
@@ -59,7 +59,7 @@ fn reserve_does_not_overallocate() {
         let mut v: RawVec<u32> = RawVec::new();
         v.reserve(0, 7);
         assert_eq!(7, v.capacity());
-        // 97 if more than double of 7, so `reserve` should work
+        // 97 is more than double of 7, so `reserve` should work
         // like `reserve_exact`.
         v.reserve(7, 90);
         assert_eq!(97, v.capacity());