diff options
| author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2025-08-26 22:44:09 +0200 |
|---|---|---|
| committer | Tobias Stoeckmann <tobias@stoeckmann.org> | 2025-08-26 22:58:44 +0200 |
| commit | 45296bb633bc7fdd0c692a8be3035393ec3c9314 (patch) | |
| tree | 5726a74c0367739bb54c9157852c2766fa76a020 /library/alloc/src | |
| parent | 91ee6a4057ce4bf1ab6d2f932cae497488d67c81 (diff) | |
| download | rust-45296bb633bc7fdd0c692a8be3035393ec3c9314.tar.gz rust-45296bb633bc7fdd0c692a8be3035393ec3c9314.zip | |
Fix typo in comment
Turn "any heap allocators" into "any heap allocator".
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/raw_vec/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/raw_vec/mod.rs b/library/alloc/src/raw_vec/mod.rs index 40716755aad..fd05f9ca464 100644 --- a/library/alloc/src/raw_vec/mod.rs +++ b/library/alloc/src/raw_vec/mod.rs @@ -155,7 +155,7 @@ impl RawVecInner<Global> { } // Tiny Vecs are dumb. Skip to: -// - 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 // to round up a request of less than 8 bytes to at least 8 bytes. // - 4 if elements are moderate-sized (<= 1 KiB). // - 1 otherwise, to avoid wasting too much space for very short Vecs. |
