mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Fix indentation of comment in wmap_compact_table_i
This commit is contained in:
parent
a83c91dd7a
commit
ef05970740
Notes:
git
2024-10-21 15:00:44 +00:00
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue