aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-06 13:46:31 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-09-06 13:46:31 +0000
commit320a9e4ce68564fbfe0bc0c385ce76f03921a64a (patch)
treee697bb9fac7af4da7463d7b1dec95efe14fb068a
parentc97ec525ef38952a83fae7c38ab5c0432cb82d09 (diff)
downloadruby-320a9e4ce68564fbfe0bc0c385ce76f03921a64a.tar.gz
Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 0ed9489ae3..c32b363324 100644
--- a/string.c
+++ b/string.c
@@ -8079,7 +8079,7 @@ rb_str_enumerate_grapheme_clusters(VALUE str, VALUE ary)
* Unlike String#each_char, this enumerates by grapheme clusters defined by
* Unicode Standard Annex #29 http://unicode.org/reports/tr29/
*
- * "a\u0300".each_chars.to_a.size #=> 2
+ * "a\u0300".each_char.to_a.size #=> 2
* "a\u0300".each_grapheme_cluster.to_a.size #=> 1
*
*/