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.
Hash.new
1 parent 1048dee commit 9c4422eCopy full SHA for 9c4422e
core/hash.rbs
@@ -1845,8 +1845,8 @@ class Hash[unchecked out K, unchecked out V] < Object
1845
# be resized.
1846
#
1847
def initialize: (?capacity: int) -> void
1848
- | [V] (V default, ?capacity: int) -> void
1849
- | [A, B] (?capacity: int) { (Hash[A, B] hash, A key) -> B } -> void
+ | (V default, ?capacity: int) -> void
+ | (?capacity: int) { (Hash[K, V] hash, K key) -> V } -> void
1850
1851
# <!--
1852
# rdoc-file=hash.c
0 commit comments