From bee8cc547b345d69efb230e3b14db6ed67f770e7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 5 Nov 2025 10:54:45 +0900 Subject: [PATCH] [DOC] Remove the statement `rest?` is obsolete `eos?` is opposite, cannot be used instead of `rest?`. --- ext/strscan/strscan.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c index 7e951855d4..39178c6259 100644 --- a/ext/strscan/strscan.c +++ b/ext/strscan/strscan.c @@ -1477,7 +1477,6 @@ strscan_eos_p(VALUE self) * rest? * * Returns true if and only if there is more data in the string. See #eos?. - * This method is obsolete; use #eos? instead. * * s = StringScanner.new('test string') * # These two are opposites