diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2021-04-26 00:10:39 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-04-26 10:07:41 +0900 |
commit | 33f2ff3babb7054f3df1efa25c1285e09613d7b8 (patch) | |
tree | 4c47e98fd4194080fb4d0d047100731b076babc0 /gc.c | |
parent | f9b62b5cc04fa87f0970c9ca3d1cbbc9be8bf8fe (diff) |
Fix some typos by spell checker
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4414
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3344,7 +3344,7 @@ objspace_each_objects(rb_objspace_t *objspace, each_obj_callback *callback, void * heap. This will be a snapshot of the state of the heap before we * call the callback over each page that exists in this buffer. Thus it * is safe for the callback to allocate objects without possibly entering - * an infinte loop. */ + * an infinite loop. */ struct heap_page *page = 0; size_t pages_count = 0; list_for_each(&heap_eden->pages, page, page_node) { @@ -4033,7 +4033,7 @@ id2ref_obj_tbl(rb_objspace_t *objspace, VALUE objid) * r = ObjectSpace._id2ref(s.object_id) #=> "I am a string" * r == s #=> true * - * On multi-ractor mode, if the object is not sharable, it raises + * On multi-ractor mode, if the object is not shareable, it raises * RangeError. */ |