Skip to content

Commit

Permalink
Fix a typo [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
znz committed Apr 6, 2022
1 parent c59488a commit 8da0b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proc.c
Expand Up @@ -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
Expand Down

0 comments on commit 8da0b68

Please sign in to comment.