summaryrefslogtreecommitdiff
path: root/weakmap.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2024-10-21 09:43:43 -0400
committerPeter Zhu <[email protected]>2024-10-21 11:00:15 -0400
commitef059707403df1182e61ca915efd676dc1eea116 (patch)
tree6dd38cb0fb30f6150708744858e3cbe98da0f815 /weakmap.c
parenta83c91dd7ab8ebf3f1b89a56280bdf7aab0d882f (diff)
[DOC] Fix indentation of comment in wmap_compact_table_i
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/11924
Diffstat (limited to 'weakmap.c')
-rw-r--r--weakmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/weakmap.c b/weakmap.c
index 3ca8927a99..467a262f59 100644
--- a/weakmap.c
+++ b/weakmap.c
@@ -156,7 +156,7 @@ wmap_compact_table_i(struct weakmap_entry *entry, st_data_t data)
entry->val = rb_gc_location(entry->val);
/* If the key object moves, then we must reinsert because the hash is
- * based on the pointer rather than the object itself. */
+ * based on the pointer rather than the object itself. */
if (entry->key != new_key) {
entry->key = new_key;