Skip to content

Commit d913934

Browse files
authored
Merge pull request #2136 from HoneyryderChuck/zlib-fix
fixing ZStream#finish sig
2 parents bb9d218 + 7c70b48 commit d913934

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/zlib/0/zstream.rbs

+2-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,8 @@ module Zlib
207207
# is yielded to the block until the input buffer has been flushed to the output
208208
# buffer.
209209
#
210-
def finish: () -> void
210+
def finish: () -> String
211+
| () { (String chunk) -> void } -> void
211212

212213
# <!--
213214
# rdoc-file=ext/zlib/zlib.c

0 commit comments

Comments
 (0)