Skip to content

Commit 6060166

Browse files
committed
Simplify rewind return type signature
The (Integer | void) union is redundant since void already permits any return value.
1 parent 6eedc73 commit 6060166

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sig/http/form_data/readable.rbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module HTTP
1313
def size: () -> Integer
1414

1515
# Rewinds the IO to the beginning
16-
def rewind: () -> (Integer | void)
16+
def rewind: () -> void
1717
end
1818
end
1919
end

0 commit comments

Comments
 (0)