Skip to content

Commit

Permalink
[DOC] Improve some GC docs
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 committed Aug 15, 2023
1 parent a11b907 commit 300bc14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gc.c
Expand Up @@ -13813,7 +13813,7 @@ Init_GC(void)
rb_hash_aset(gc_constants, ID2SYM(rb_intern("RB_BUG_INSTEAD_OF_RB_MEMERROR")), Qtrue);
}
OBJ_FREEZE(gc_constants);
/* internal constants */
/* Internal constants in the garbage collector. */
rb_define_const(rb_mGC, "INTERNAL_CONSTANTS", gc_constants);

rb_mProfiler = rb_define_module_under(rb_mGC, "Profiler");
Expand Down
2 changes: 1 addition & 1 deletion gc.rb
@@ -1,6 +1,6 @@
# for gc.c

# The GC module provides an interface to Ruby's mark and
# The \GC module provides an interface to Ruby's mark and
# sweep garbage collection mechanism.
#
# Some of the underlying methods are also available via the ObjectSpace
Expand Down

0 comments on commit 300bc14

Please sign in to comment.