summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
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"