From 300bc145892488b91f10438f06fe75d03809424c Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 14 Aug 2023 14:04:39 -0400 Subject: [PATCH] [DOC] Improve some GC docs --- gc.c | 2 +- gc.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gc.c b/gc.c index 70b9b36d638d38..d2c5c52692fd25 100644 --- a/gc.c +++ b/gc.c @@ -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"); diff --git a/gc.rb b/gc.rb index dd4fb6c274c88a..cbb5daf654e037 100644 --- a/gc.rb +++ b/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