summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 83d90ff3a9..84af905deb 100644
--- a/string.c
+++ b/string.c
@@ -7998,7 +7998,7 @@ rb_str_tr_bang(VALUE str, VALUE src, VALUE repl)
*
* - Each occurrence of the first character specified by +selector+
* is translated to the first character in +replacements+.
- * - Each occurrence of the second character specified by selector+
+ * - Each occurrence of the second character specified by +selector+
* is translated to the second character in +replacements+.
* - And so on.
*