diff --git a/core/hash.rbs b/core/hash.rbs index 10fe0e0cb..df4bbe6c8 100644 --- a/core/hash.rbs +++ b/core/hash.rbs @@ -1845,8 +1845,8 @@ class Hash[unchecked out K, unchecked out V] < Object # be resized. # def initialize: (?capacity: int) -> void - | [V] (V default, ?capacity: int) -> void - | [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 #