summaryrefslogtreecommitdiff
path: root/string.c
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 /string.c
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
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 0 insertions, 2 deletions
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"