diff --git a/core/range.rbs b/core/range.rbs index 7c0a0a0b1..d29fac07d 100644 --- a/core/range.rbs +++ b/core/range.rbs @@ -271,7 +271,7 @@ class Range[out Elem] < Object # Related: Range#step. # def %: (Numeric | int n) -> Enumerator[Elem, self] - | (Numeric | int n) { (Elem element) -> void } -> self + | (Numeric | int n) { (Elem element) -> void } -> self #