aboutsummaryrefslogtreecommitdiffstats
path: root/proc.c
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-04-06 11:59:35 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2022-04-06 11:59:35 +0900
commit8da0b68a628af4c4b527d4621be185074745e348 (patch)
tree92ac5b6f4801f9d23f27283234fe76c0d8bb6dc4 /proc.c
parentc59488a8e3410f93a919c21a9df056f4344aac3e (diff)
downloadruby-8da0b68a628af4c4b527d4621be185074745e348.tar.gz
Fix a typo [ci skip]
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
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