ruby-changes:71650
From: Kazuhiro <ko1@a...>
Date: Wed, 6 Apr 2022 12:00:05 +0900 (JST)
Subject: [ruby-changes:71650] 8da0b68a62 (master): Fix a typo [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=8da0b68a62 From 8da0b68a628af4c4b527d4621be185074745e348 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA <zn@m...> 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(-) 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) https://github.com/ruby/ruby/blob/trunk/proc.c#L1428 * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/