summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/weakref.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/weakref.rb b/lib/weakref.rb
index fbd5d8fa82..78aad1f96e 100644
--- a/lib/weakref.rb
+++ b/lib/weakref.rb
@@ -30,9 +30,6 @@ class WeakRef < Delegator
##
# Creates a weak reference to +orig+
- #
- # Raises an ArgumentError if the given +orig+ is immutable, such as Symbol,
- # Integer, or Float.
def initialize(orig)
case orig