summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-05 05:22:54 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-05 05:22:54 +0000
commitf86ca534601ba66b43d60d3b595c1977ed03b3dd (patch)
treeb245807727ed12170808cbb5c6c3b3b14a45f5dc
parent89d6841175f4e3a853c1dfc5c03ee9314fe984c4 (diff)
* string.c: fix rdoc typo.
https://github.com/shyouhei/ruby/pull/3 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--string.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e38666ac0e..d4e538aa88 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan 5 14:21:34 2011 Mark Dodwell <hi@mkdynamic.co.uk>
+
+ * string.c: fix rdoc typo.
+ https://github.com/shyouhei/ruby/pull/3
+
Wed Jan 5 14:06:01 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/rdoc/test_rdoc_options.rb (TestRDocOptions#test_check_files):
diff --git a/string.c b/string.c
index e202291f08..d6a2ac16a5 100644
--- a/string.c
+++ b/string.c
@@ -2611,8 +2611,6 @@ static VALUE get_pat(VALUE, int);
* then invokes its <code>match</code> method on <i>str</i>. If the second
* parameter is present, it specifies the position in the string to begin the
* search.
- * If the second parameter is present, it specifies the position in the string
- * to begin the search.
*
* 'hello'.match('(.)\1') #=> #<MatchData "ll" 1:"l">
* 'hello'.match('(.)\1')[0] #=> "ll"