aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-15 12:00:06 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-15 12:00:06 +0000
commit4be09196973b9dd9567c7ceceec92329ba44921e (patch)
treee86d6cf8110d5eda107e21cf845bf1d7800a0008 /gc.c
parentb55c9a2e8052fc991c50ca3b703813dfe0f54bc7 (diff)
downloadruby-4be09196973b9dd9567c7ceceec92329ba44921e.tar.gz
Fix a typo.
* gc.c: beacuse -> because. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index b3edd4c54b..0316cf243b 100644
--- a/gc.c
+++ b/gc.c
@@ -1405,7 +1405,7 @@ static void
heap_pages_expand_sorted(rb_objspace_t *objspace)
{
/* usually heap_allocatable_pages + heap_eden->total_pages == heap_pages_sorted_length
- * beacuse heap_allocatable_pages contains heap_tomb->total_pages (recycle heap_tomb pages).
+ * because heap_allocatable_pages contains heap_tomb->total_pages (recycle heap_tomb pages).
* howerver, if there are pages which do not have empty slots, then try to create new pages
* so that the additional allocatable_pages counts (heap_tomb->total_pages) are added.
*/