mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.zip: Fix typo in doc comments
This commit is contained in:
parent
1165e13c25
commit
254a3ba9d9
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue