aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index ab46894f70..45dc8320d5 100644
--- a/eval.c
+++ b/eval.c
@@ -8137,7 +8137,7 @@ static VALUE method_arity _((VALUE));
* returns -1, as it can accept (and ignore) an arbitrary number of
* parameters.
*
- * Proc.new {}.arity #=> -1
+ * Proc.new {}.arity #=> 0
* Proc.new {||}.arity #=> 0
* Proc.new {|a|}.arity #=> 1
* Proc.new {|a,b|}.arity #=> 2