Commit 0a04617
committed
0.15.1 release notes: fix std.compress.flate code snippet
`streamRemaining` is a method of `std.Io.Reader` (see
https://ziglang.org/documentation/0.15.1/std/#std.Io.Reader.streamRemaining),
not `std.compress.flate.Decompress`.
FWIW, I encountered this error when I tried to use
`std.compress.flate.Decompress` in combination with `streamRemaining` in
my code. Here's the final code that works on Zig 0.15.2:
https://github.com/kaitai-io/kaitai_struct_zig_runtime/blob/d0aee404b6f3a8584ce4df57c52ce0425dc2ab8e/src/root.zig#L519-L5261 parent 414c98a commit 0a04617
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
1629 | | - | |
| 1629 | + | |
| 1630 | + | |
1630 | 1631 | | |
1631 | 1632 | | |
1632 | 1633 | | |
| |||
0 commit comments