diff --git a/core/string.rbs b/core/string.rbs index 8ddab025b..7b998449a 100644 --- a/core/string.rbs +++ b/core/string.rbs @@ -703,7 +703,7 @@ class String # # String.new('hello', encoding: 'UTF-8', capacity: 25) # - def initialize: (?string source, ?encoding: encoding?, ?capacity: int?) -> self + def initialize: (?string source, ?encoding: encoding, ?capacity: int) -> void #