We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe5890e + 45296bb commit cefa84aCopy full SHA for cefa84a
library/alloc/src/raw_vec/mod.rs
@@ -155,7 +155,7 @@ impl RawVecInner<Global> {
155
}
156
157
// Tiny Vecs are dumb. Skip to:
158
-// - 8 if the element size is 1, because any heap allocators is likely
+// - 8 if the element size is 1, because any heap allocator is likely
159
// to round up a request of less than 8 bytes to at least 8 bytes.
160
// - 4 if elements are moderate-sized (<= 1 KiB).
161
// - 1 otherwise, to avoid wasting too much space for very short Vecs.
0 commit comments