mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
Fix typo in rb_bug message for unreachable code
This commit is contained in:
parent
ef66aef791
commit
251cfdfe22
Notes:
git
2025-06-15 13:35:39 +00:00
2
gc.c
2
gc.c
@ -4166,7 +4166,7 @@ rb_gc_vm_weak_table_foreach(vm_table_foreach_callback_func callback,
|
||||
break;
|
||||
}
|
||||
case RB_GC_VM_WEAK_TABLE_COUNT:
|
||||
rb_bug("Unreacheable");
|
||||
rb_bug("Unreachable");
|
||||
default:
|
||||
rb_bug("rb_gc_vm_weak_table_foreach: unknown table %d", table);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user