summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
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