aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--enumerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enumerator.c b/enumerator.c
index 9e3da15dd3..8e02021386 100644
--- a/enumerator.c
+++ b/enumerator.c
@@ -1276,7 +1276,7 @@ static VALUE
lazy_flat_map_func(VALUE val, VALUE m, int argc, VALUE *argv)
{
VALUE result = rb_yield_values2(argc - 1, &argv[1]);
- VALUE ary = rb_check_array_type(result);
+ VALUE ary = rb_check_array_type(result);
if (NIL_P(ary)) {
return rb_funcall(argv[0], id_yield, 1, result);
}