Skip to content

Commit 2c9cfc6

Browse files
committed
fix wording in comment
1 parent 44bdaf1 commit 2c9cfc6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/std/compress/flate/inflate.zig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,10 @@ pub fn Inflate(comptime container: Container, comptime ReaderType: type) type {
306306
}
307307

308308
/// Returns decompressed data from internal sliding window buffer.
309-
/// Returned buffer can be any length between 0 and `limit` bytes.
310-
/// 0 returned bytes means end of stream reached.
311-
/// With limit=0 returns as much data can. It newer will be more
312-
/// than 65536 bytes, which is limit of internal buffer.
309+
/// Returned buffer can be any length between 0 and `limit` bytes. 0
310+
/// returned bytes means end of stream reached. With limit=0 returns as
311+
/// much data it can. It newer will be more than 65536 bytes, which is
312+
/// size of internal buffer.
313313
pub fn get(self: *Self, limit: usize) Error![]const u8 {
314314
while (true) {
315315
const out = self.hist.readAtMost(limit);

0 commit comments

Comments
 (0)