Skip to content

Commit 300bc14

Browse files
committed
[DOC] Improve some GC docs
1 parent a11b907 commit 300bc14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13813,7 +13813,7 @@ Init_GC(void)
1381313813
rb_hash_aset(gc_constants, ID2SYM(rb_intern("RB_BUG_INSTEAD_OF_RB_MEMERROR")), Qtrue);
1381413814
}
1381513815
OBJ_FREEZE(gc_constants);
13816-
/* internal constants */
13816+
/* Internal constants in the garbage collector. */
1381713817
rb_define_const(rb_mGC, "INTERNAL_CONSTANTS", gc_constants);
1381813818

1381913819
rb_mProfiler = rb_define_module_under(rb_mGC, "Profiler");

gc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# for gc.c
22

3-
# The GC module provides an interface to Ruby's mark and
3+
# The \GC module provides an interface to Ruby's mark and
44
# sweep garbage collection mechanism.
55
#
66
# Some of the underlying methods are also available via the ObjectSpace

0 commit comments

Comments
 (0)