Skip to content

Commit

Permalink
fixing ZStream#finish sig
Browse files Browse the repository at this point in the history
returns a String without a block
  • Loading branch information
HoneyryderChuck committed Dec 10, 2024
1 parent a0f37a9 commit 7c70b48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stdlib/zlib/0/zstream.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ module Zlib
# is yielded to the block until the input buffer has been flushed to the output
# buffer.
#
def finish: () -> void
def finish: () -> String
| () { (String chunk) -> void } -> void

# <!--
# rdoc-file=ext/zlib/zlib.c
Expand Down

0 comments on commit 7c70b48

Please sign in to comment.