From abd1b700d2cec70187bca84eed2180ade2a93b87 Mon Sep 17 00:00:00 2001
From: Serg Tyatin <700@2rba.com>
Date: Wed, 12 Feb 2025 23:53:02 +0000
Subject: [PATCH] [DOC] Fix description comment typo
---
gc.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
- # GC.latest_gc_info(:needs_major_by)
+ # GC.latest_gc_info(:need_major_by)
#
# The user can trigger a major collection at any time using
# GC.start(full_mark: true)