[ruby/psych] Remove now-unreachable rescue block

https://github.com/ruby/psych/commit/6905a2123c
This commit is contained in:
Alexander Momchilov 2023-12-19 12:27:06 -05:00 committed by Hiroshi SHIBATA
parent 95e7af0c59
commit bb1625858f

View File

@ -26,8 +26,6 @@ module Psych
def key? target
@obj_to_node.key? target
rescue NoMethodError
false
end
def id_for target