From 320a9e4ce68564fbfe0bc0c385ce76f03921a64a Mon Sep 17 00:00:00 2001 From: kazu Date: Wed, 6 Sep 2017 13:46:31 +0000 Subject: Fix a typo [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 * */ -- cgit v1.2.3