diff options
Diffstat (limited to 'enumerator.c')
-rw-r--r-- | enumerator.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/enumerator.c b/enumerator.c index 983e14c157..3d19c40b15 100644 --- a/enumerator.c +++ b/enumerator.c @@ -2052,12 +2052,12 @@ static VALUE lazy_filter_map(VALUE obj) { if (!rb_block_given_p()) { - rb_raise(rb_eArgError, "tried to call lazy filter_map without a block"); + rb_raise(rb_eArgError, "tried to call lazy filter_map without a block"); } return lazy_set_method(rb_block_call(rb_cLazy, id_new, 1, &obj, - lazy_filter_map_proc, 0), - Qnil, 0); + lazy_filter_map_proc, 0), + Qnil, 0); } static struct MEMO * |