Skip to content

Commit 4b074a3

Browse files
sampersandsoutaro
andauthored
Update core/hash.rbs
Co-authored-by: Soutaro Matsumoto <matsumoto@soutaro.com>
1 parent d1b62d8 commit 4b074a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/hash.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ class Hash[unchecked out K, unchecked out V]
557557
# Raises an exception unless `obj.to_hash` returns a `Hash` object.
558558
#
559559
def self.try_convert: [K, V] (hash[K, V] hash) -> Hash[K, V]
560-
| (untyped) -> nil
560+
| (untyped) -> Hash[untyped, untyped]?
561561

562562
# <!--
563563
# rdoc-file=hash.c

0 commit comments

Comments
 (0)