From 8da0b68a628af4c4b527d4621be185074745e348 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Wed, 6 Apr 2022 11:59:35 +0900 Subject: Fix a typo [ci skip] --- proc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proc.c') diff --git a/proc.c b/proc.c index 4f43c56006..f2b3c1ff21 100644 --- a/proc.c +++ b/proc.c @@ -1428,7 +1428,7 @@ rb_unnamed_parameters(int arity) * prc = proc{|x, y=42, *other|} * prc.parameters(lambda: true) #=> [[:req, :x], [:opt, :y], [:rest, :other]] * prc = lambda{|x, y=42, *other|} - * prc.parameters(lamdba: false) #=> [[:opt, :x], [:opt, :y], [:rest, :other]] + * prc.parameters(lambda: false) #=> [[:opt, :x], [:opt, :y], [:rest, :other]] */ static VALUE -- cgit v1.2.1