aboutsummaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-05-04 01:34:35 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-05-04 01:34:35 +0900
commitb6625d38d886acb8a2fdf8321197d29a1d63c12c (patch)
tree3cc7742eb0b5237034688600a5eb800f4b0020e7 /gc.c
parent91485d7dc64e0f56dc731ac6722d8dc6119f1f6f (diff)
downloadruby-b6625d38d886acb8a2fdf8321197d29a1d63c12c.tar.gz
[DOC] Fix the description about the timing finalizers will be called
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gc.c b/gc.c
index 101ecd0e48..474454e487 100644
--- a/gc.c
+++ b/gc.c
@@ -13594,10 +13594,9 @@ rb_gcdebug_remove_stress_to_class(int argc, VALUE *argv, VALUE self)
* traverse all living objects with an iterator.
*
* ObjectSpace also provides support for object finalizers, procs that will be
- * called when a specific object is about to be destroyed by garbage
- * collection. See the documentation for
- * <code>ObjectSpace.define_finalizer</code> for important information on
- * how to use this method correctly.
+ * called after a specific object was destroyed by garbage collection. See
+ * the documentation for +ObjectSpace.define_finalizer+ for important
+ * information on how to use this method correctly.
*
* a = "A"
* b = "B"