1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:37:34 +00:00

Everywhere: Fix a few typos

Some even user-visible!
This commit is contained in:
Nico Weber 2023-04-12 13:32:21 -04:00 committed by Linus Groh
parent 3d10132021
commit f56b897622
10 changed files with 13 additions and 13 deletions

View file

@ -293,7 +293,7 @@ private:
// the caller is perhaps appending very little data in many calls.
// To avoid copying the entire ByteBuffer every single time,
// we raise the capacity exponentially, by a factor of roughly 1.5.
// This is most noticable in Lagom, where kmalloc_good_size is just a no-op.
// This is most noticeable in Lagom, where kmalloc_good_size is just a no-op.
new_capacity = max(new_capacity, (capacity() * 3) / 2);
new_capacity = kmalloc_good_size(new_capacity);
auto* new_buffer = static_cast<u8*>(kmalloc(new_capacity));