diff --git a/core/symbol.rbs b/core/symbol.rbs index fafd9c578..d283858cd 100644 --- a/core/symbol.rbs +++ b/core/symbol.rbs @@ -151,7 +151,7 @@ class Symbol # Related: String#<=>. # def <=>: (Symbol object) -> (-1 | 0 | 1) - | (untyped) -> nil + | (untyped) -> (-1 | 0 | 1)? #