summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2026-05-06 21:21:20 -0400
committerPeter Zhu <peter@peterzhu.ca>2026-05-06 21:27:56 -0400
commit4f28236d5115aef71573693bef85c3bee7cef619 (patch)
tree0ee6b84fcebfbde6c5a9b750b45931a36fcc4001
parentfafb55877aaf34592278eb3ef9ba3f61473d0a56 (diff)
[DOC] Fix hash style in ObjectSpace.count_objects_size
-rw-r--r--ext/objspace/objspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/objspace/objspace.c b/ext/objspace/objspace.c
index 8a4128e1b4..ffe1845735 100644
--- a/ext/objspace/objspace.c
+++ b/ext/objspace/objspace.c
@@ -230,7 +230,7 @@ type2sym(enum ruby_value_type i)
* T_DATA may be wrong.
*
* It returns a hash as:
- * {:TOTAL=>1461154, :T_CLASS=>158280, :T_MODULE=>20672, :T_STRING=>527249, ...}
+ * {TOTAL: 1461154, T_CLASS: 158280, T_MODULE: 20672, T_STRING: 527249, ...}
*
* If the optional argument, result_hash, is given,
* it is overwritten and returned.