From 254a3ba9d963bd031d1e536d0da1ad0621121db2 Mon Sep 17 00:00:00 2001 From: Jay Petacat Date: Mon, 17 Jun 2024 10:32:14 -0600 Subject: [PATCH] std.zip: Fix typo in doc comments --- lib/std/zip.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/zip.zig b/lib/std/zip.zig index 59fa79aee5..8c1b55216b 100644 --- a/lib/std/zip.zig +++ b/lib/std/zip.zig @@ -104,7 +104,7 @@ pub const EndRecord = extern struct { }; /// Find and return the end record for the given seekable zip stream. -/// Note that `seekable_stream` must be an instance of `std.io.SeekabkeStream` and +/// Note that `seekable_stream` must be an instance of `std.io.SeekableStream` and /// its context must also have a `.reader()` method that returns an instance of /// `std.io.Reader`. pub fn findEndRecord(seekable_stream: anytype, stream_len: u64) !EndRecord { @@ -576,7 +576,7 @@ pub const ExtractOptions = struct { }; /// Extract the zipped files inside `seekable_stream` to the given `dest` directory. -/// Note that `seekable_stream` must be an instance of `std.io.SeekabkeStream` and +/// Note that `seekable_stream` must be an instance of `std.io.SeekableStream` and /// its context must also have a `.reader()` method that returns an instance of /// `std.io.Reader`. pub fn extract(dest: std.fs.Dir, seekable_stream: anytype, options: ExtractOptions) !void {