Skip to content

Commit bee8cc5

Browse files
committed
[DOC] Remove the statement rest? is obsolete
`eos?` is opposite, cannot be used instead of `rest?`.
1 parent f3fdf21 commit bee8cc5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/strscan/strscan.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,6 @@ strscan_eos_p(VALUE self)
14771477
* rest?
14781478
*
14791479
* Returns true if and only if there is more data in the string. See #eos?.
1480-
* This method is obsolete; use #eos? instead.
14811480
*
14821481
* s = StringScanner.new('test string')
14831482
* # These two are opposites

0 commit comments

Comments
 (0)