From 365338d9d6a3d681b79787c11993fc3bbccab05c Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 21 Mar 2018 15:46:15 +0000 Subject: [PATCH] Remove outdated proc.c binding comment. Passing a proc as the second argument to eval is no longer supported. [Fix GH-1843] From: Tieg Zaharia git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- proc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/proc.c b/proc.c index 08ec25cb3c..7134f68234 100644 --- a/proc.c +++ b/proc.c @@ -2789,9 +2789,7 @@ env_clone(const rb_env_t *env, const rb_cref_t *cref) * call-seq: * prc.binding -> binding * - * Returns the binding associated with prc. Note that - * Kernel#eval accepts either a Proc or a - * Binding object as its second parameter. + * Returns the binding associated with prc. * * def fred(param) * proc {}