We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2160db1 commit 9039042Copy full SHA for 9039042
lib/concurrent/dereferenceable.rb
@@ -92,7 +92,6 @@ def set_deref_options(opts = {})
92
def apply_deref_options(value) # :nodoc:
93
return nil if value.nil?
94
return value if @do_nothing_on_deref
95
- value = value
96
value = @copy_on_deref.call(value) if @copy_on_deref
97
value = value.dup if @dup_on_deref
98
value = value.freeze if @freeze_on_deref
0 commit comments