ruby-changes:47648
From: kazu <ko1@a...>
Date: Wed, 6 Sep 2017 22:46:36 +0900 (JST)
Subject: [ruby-changes:47648] kazu:r59764 (trunk): Fix a typo [ci skip]
kazu 2017-09-06 22:46:31 +0900 (Wed, 06 Sep 2017) New Revision: 59764 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59764 Log: Fix a typo [ci skip] Modified files: trunk/string.c Index: string.c =================================================================== --- string.c (revision 59763) +++ string.c (revision 59764) @@ -8079,7 +8079,7 @@ rb_str_enumerate_grapheme_clusters(VALUE https://github.com/ruby/ruby/blob/trunk/string.c#L8079 * 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 * */ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/