aboutsummaryrefslogtreecommitdiffstats
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 0ab2012c89..4e62f5971e 100644
--- a/string.c
+++ b/string.c
@@ -8426,7 +8426,7 @@ rb_str_enumerate_grapheme_clusters(VALUE str, VALUE ary)
static VALUE
rb_str_each_grapheme_cluster(VALUE str)
{
- RETURN_SIZED_ENUMERATOR(str, 0, 0, rb_str_each_char_size);
+ RETURN_ENUMERATOR(str, 0, 0);
return rb_str_enumerate_grapheme_clusters(str, 0);
}