summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 2eb049184c..770564126b 100644
--- a/gc.c
+++ b/gc.c
@@ -6574,7 +6574,8 @@ Init_stack(volatile VALUE *addr)
/*
* call-seq:
* GC.start -> nil
- * GC.garbage_collect -> nil
+ * ObjectSpace.garbage_collect -> nil
+ * include GC; garbage_collect -> nil
* GC.start(full_mark: true, immediate_sweep: true) -> nil
* ObjectSpace.garbage_collect(full_mark: true, immediate_sweep: true) -> nil
* include GC; garbage_collect(full_mark: true, immediate_sweep: true) -> nil