summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaĆ­que Kandy Koga <kaiquekandykoga@gmail.com>2022-05-10 01:07:16 -0300
committerGitHub <noreply@github.com>2022-05-10 13:07:16 +0900
commita85cdb5a6e7d735b03eb5ae80e5ac0c5424eb259 (patch)
treef4d6a1fe8efbc9c02f9cb646933bce1ecfedc2c8
parentd0983af61c115ba2793df1a840b8a531317c5acf (diff)
Write have instead of have have [ci skip
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5897 Merged-By: nobu <nobu@ruby-lang.org>
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index cc012f9e91..8f4a32621b 100644
--- a/gc.c
+++ b/gc.c
@@ -5434,7 +5434,7 @@ gc_sweep_page(rb_objspace_t *objspace, rb_heap_t *heap, struct gc_sweep_context
bits[BITMAP_INDEX(p) + page_rvalue_count / BITS_BITLENGTH] |= ~(((bits_t)1 << out_of_range_bits) - 1);
}
- /* The last bitmap plane may not be used if the last plane does not have
+ /* The last bitmap plane may not be used if the last plane does not
* have enough space for the slot_size. In that case, the last plane must
* be skipped since none of the bits will be set. */
int bitmap_plane_count = CEILDIV(NUM_IN_PAGE(p) + page_rvalue_count, BITS_BITLENGTH);