1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix a typo [ci skip]

This commit is contained in:
Kazuhiro NISHIYAMA 2022-04-12 19:14:39 +09:00
parent de5aa98f39
commit 48ffa28044
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

2
gc.c
View file

@ -5085,7 +5085,7 @@ try_move(rb_objspace_t *objspace, rb_heap_t *heap, struct heap_page *free_page,
return false;
}
/* We should return true if either src is sucessfully moved, or src is
/* We should return true if either src is successfully moved, or src is
* unmoveable. A false return will cause the sweeping cursor to be
* incremented to the next page, and src will attempt to move again */
if (gc_is_moveable_obj(objspace, src)) {