summaryrefslogtreecommitdiff
path: root/ext/strscan/strscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/strscan/strscan.c')
-rw-r--r--ext/strscan/strscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c
index 99c0451e36..5cce337638 100644
--- a/ext/strscan/strscan.c
+++ b/ext/strscan/strscan.c
@@ -573,7 +573,7 @@ strscan_scan_until(VALUE self, VALUE re)
* s = StringScanner.new('test string')
* s.exist? /s/ # -> 3
* s.scan /test/ # -> "test"
- * s.exist? /s/ # -> 6
+ * s.exist? /s/ # -> 2
* s.exist? /e/ # -> nil
*/
static VALUE