diff --git a/core/enumerator.rbs b/core/enumerator.rbs index b3ae0bd24..30b32d46f 100644 --- a/core/enumerator.rbs +++ b/core/enumerator.rbs @@ -293,7 +293,7 @@ class Enumerator[unchecked out Elem, out Return] < Object # lazy fashion (see Enumerator#size). It can either be a value or a callable # object. # - def initialize: (?Integer arg0) { (Enumerator::Yielder arg0) -> void } -> void + def initialize: (?Integer arg0) { (Enumerator::Yielder arg0) -> Return } -> void #