diff --git a/proc.c b/proc.c index 57628c86f1..32b75f7965 100644 --- a/proc.c +++ b/proc.c @@ -710,7 +710,7 @@ proc_new(VALUE klass, int8_t is_lambda) rb_raise(rb_eArgError, proc_without_block); } else { - rb_warn("Capturing the given block using Proc.new is deprecated; use `&block` instead"); + rb_warn("Capturing the given block using Proc.new is deprecated; use `&block` instead"); } } #else