summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerg Tyatin <[email protected]>2025-02-12 23:53:02 +0000
committerGitHub <[email protected]>2025-02-13 08:53:02 +0900
commitabd1b700d2cec70187bca84eed2180ade2a93b87 (patch)
treeccf3e34f850c9780432666954442e5e3ce7ae88d
parent0e34a883bc75f6d3924e8369c355281927179da9 (diff)
[DOC] Fix description comment typo
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12736 Merged-By: nobu <[email protected]>
-rw-r--r--gc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.rb b/gc.rb
index 0e6955d577..d3bb8db036 100644
--- a/gc.rb
+++ b/gc.rb
@@ -307,7 +307,7 @@ module GC
#
# A flag will be set to notify that a full mark has been
# requested. This flag is accessible using
- # <code>GC.latest_gc_info(:needs_major_by)</code>
+ # <code>GC.latest_gc_info(:need_major_by)</code>
#
# The user can trigger a major collection at any time using
# <code>GC.start(full_mark: true)</code>