1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

Everywhere: Run spellcheck on all documentation

This commit is contained in:
Ben Wiederhake 2023-05-06 16:28:34 +02:00 committed by Jelle Raaijmakers
parent a7600caea1
commit ee47c0275e
Notes: sideshowbarker 2024-07-17 16:42:19 +09:00
15 changed files with 26 additions and 26 deletions

View file

@ -668,7 +668,7 @@ private:
// that we can still probe for buckets with collisions, and we automatically optimize the
// probe lengths. To do so, we shift the following buckets up until we reach a free bucket,
// or a bucket with a probe length of 0 (the ideal index for that bucket).
auto update_bucket_neighbours = [&](BucketType* bucket) {
auto update_bucket_neighbors = [&](BucketType* bucket) {
if constexpr (IsOrdered) {
if (bucket->previous)
bucket->previous->next = bucket;
@ -704,7 +704,7 @@ private:
shift_from_bucket->next = nullptr;
}
shift_to_bucket->state = bucket_state_for_probe_length(shift_from_probe_length - 1);
update_bucket_neighbours(shift_to_bucket);
update_bucket_neighbors(shift_to_bucket);
if (++shift_to_index == m_capacity) [[unlikely]]
shift_to_index = 0;