summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--ext/strscan/strscan.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index bad575ed08..89cd7df316 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Jun 3 22:37:26 2008 Yusuke Endoh <mame@tsg.ne.jp>
+
+ * ext/strscan/strscan.c (strscan_exist_p): fix document.
+
Tue Jun 3 22:33:29 2008 Yusuke Endoh <mame@tsg.ne.jp>
* test/ruby/test_dir.rb: add tests to achieve over 90% test coverage
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