summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2022-12-20 15:09:14 -0500
committerPeter Zhu <peter@peterzhu.ca>2022-12-20 15:09:14 -0500
commit63fe03aa4e9bba62dec83e5b7927c47b9599eeff (patch)
tree337822a46780a2d4ee821b38b2cfd942a59f018b /gc.c
parent790b3f7bbde1e1c9594c12e8d8ed8ae9718148f7 (diff)
[DOC] Fix call-seq for GC methods
RDoc parses the last arrow in the call-seq as the arrow for the return type. It was getting confused over the arrow in the hash.
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 977a2966f7..62fbc6ff72 100644
--- a/gc.c
+++ b/gc.c
@@ -10796,7 +10796,7 @@ gc_update_references(rb_objspace_t *objspace)
#if GC_CAN_COMPILE_COMPACTION
/*
* call-seq:
- * GC.latest_compact_info -> {:considered=>{:T_CLASS=>11}, :moved=>{:T_CLASS=>11}}
+ * GC.latest_compact_info -> hash
*
* Returns information about object moved in the most recent GC compaction.
*