summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2023-04-12 13:32:21 -0400
committerLinus Groh <mail@linusgroh.de>2023-04-12 19:37:35 +0200
commitf56b8976220bec13c880fbba8bc3aff67cff361b (patch)
tree67d0b74522a173c936b464f7482c2eb6c1d57de2 /AK
parent3d101320211f804b8e14e0e3a80a88677e41c2f1 (diff)
downloadserenity-f56b8976220bec13c880fbba8bc3aff67cff361b.zip
Everywhere: Fix a few typos
Some even user-visible!
Diffstat (limited to 'AK')
-rw-r--r--AK/ByteBuffer.h2
-rw-r--r--AK/FixedPoint.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/AK/ByteBuffer.h b/AK/ByteBuffer.h
index 064613f095..04f8afa3b0 100644
--- a/AK/ByteBuffer.h
+++ b/AK/ByteBuffer.h
@@ -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));
diff --git a/AK/FixedPoint.h b/AK/FixedPoint.h
index 2453c54246..0deeeee7f1 100644
--- a/AK/FixedPoint.h
+++ b/AK/FixedPoint.h
@@ -335,7 +335,7 @@ public:
bool operator<(This const& other) const { return raw() < other.raw(); }
bool operator<=(This const& other) const { return raw() <= other.raw(); }
- // FIXE: There are probably better ways to do these
+ // FIXME: There are probably better ways to do these
template<Integral I>
bool operator==(I other) const
{