Skip to content

Commit b7fdf93

Browse files
committed
[DOC] Fix hash style of docs in gc.c
1 parent 39257a3 commit b7fdf93

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

gc.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2705,10 +2705,10 @@ count_objects_i(VALUE obj, void *d)
27052705
*
27062706
* It returns a hash, such as:
27072707
* {
2708-
* :TOTAL=>10000,
2709-
* :FREE=>3011,
2710-
* :T_OBJECT=>6,
2711-
* :T_CLASS=>404,
2708+
* TOTAL: 10000,
2709+
* FREE: 3011,
2710+
* T_OBJECT: 6,
2711+
* T_CLASS: 404,
27122712
* # ...
27132713
* }
27142714
*
@@ -2726,7 +2726,7 @@ count_objects_i(VALUE obj, void *d)
27262726
* h = {}
27272727
* ObjectSpace.count_objects(h)
27282728
* puts h
2729-
* # => { :TOTAL=>10000, :T_CLASS=>158280, :T_MODULE=>20672, :T_STRING=>527249 }
2729+
* # => { TOTAL: 10000, T_CLASS: 158280, T_MODULE: 20672, T_STRING: 527249 }
27302730
*
27312731
* This method is only expected to work on C Ruby.
27322732
*

0 commit comments

Comments
 (0)