Skip to content

Commit

Permalink
std.zip: Fix typo in doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jayschwa authored and andrewrk committed Jun 17, 2024
1 parent 1165e13 commit 254a3ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/std/zip.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 254a3ba

Please sign in to comment.