diff --git a/stdlib/set/0/set.rbs b/stdlib/set/0/set.rbs index 11c15242e..baf3680f3 100644 --- a/stdlib/set/0/set.rbs +++ b/stdlib/set/0/set.rbs @@ -423,6 +423,15 @@ class Set[unchecked out A] # def reject!: () { (A) -> untyped } -> self + # + # Makes the set compare its elements by their identity and returns + # self. This method may not be supported by all subclasses of Set. + # + def compare_by_identity: () -> self + #