mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bd10ce165c
commit
0f25c6d7d5
1 changed files with 1 additions and 1 deletions
2
string.c
2
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
|
* Unlike String#each_char, this enumerates by grapheme clusters defined by
|
||||||
* Unicode Standard Annex #29 http://unicode.org/reports/tr29/
|
* 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
|
* "a\u0300".each_grapheme_cluster.to_a.size #=> 1
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue