authorgravatar for jay@jayschwa.netJay Petacat <jay@jayschwa.net> 2024-06-17 10:32:14-06:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-06-17 16:12:19-04:00
log254a3ba9d963bd031d1e536d0da1ad0621121db2
tree3baa7a54e457d517fbcee7c9adb1177b70984929
parent1165e13c256cb4aeb76674c2bc34f35c6ebd375b

std.zip: Fix typo in doc comments


1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/zip.zig+2-2
......@@ -104,7 +104,7 @@ pub const EndRecord = extern struct {
104104};
105105
106106/// Find and return the end record for the given seekable zip stream.
107/// Note that `seekable_stream` must be an instance of `std.io.SeekabkeStream` and
107/// Note that `seekable_stream` must be an instance of `std.io.SeekableStream` and
108108/// its context must also have a `.reader()` method that returns an instance of
109109/// `std.io.Reader`.
110110pub fn findEndRecord(seekable_stream: anytype, stream_len: u64) !EndRecord {
......@@ -576,7 +576,7 @@ pub const ExtractOptions = struct {
576576};
577577
578578/// Extract the zipped files inside `seekable_stream` to the given `dest` directory.
579/// Note that `seekable_stream` must be an instance of `std.io.SeekabkeStream` and
579/// Note that `seekable_stream` must be an instance of `std.io.SeekableStream` and
580580/// its context must also have a `.reader()` method that returns an instance of
581581/// `std.io.Reader`.
582582pub fn extract(dest: std.fs.Dir, seekable_stream: anytype, options: ExtractOptions) !void {