summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-11-05 10:54:45 +0900
committergit <svn-admin@ruby-lang.org>2025-11-05 02:03:10 +0000
commit13f1b432d27e4823b8b2f60588eeefe7656ccdc0 (patch)
tree7df66ec98fb34f491ca1c3dca3e5bea9b99739cd
parentd24bb1e76155374c82d03e3287f41247a2f04dce (diff)
[ruby/strscan] [DOC] Remove the statement `rest?` is obsolete
`eos?` is opposite, cannot be used instead of `rest?`. https://github.com/ruby/strscan/commit/bee8cc547b
-rw-r--r--ext/strscan/strscan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c
index e2b827c63c..164d4c65d0 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