authorgravatar for igor.anic@gmail.comIgor Anić <igor.anic@gmail.com> 2024-02-14 13:36:54+01:00
committergravatar for igor.anic@gmail.comIgor Anić <igor.anic@gmail.com> 2024-02-14 18:28:20+01:00
log5fbc371b418ff51c3681e29d8ec3f53b78bd8a59
tree56c8c9a2b3ca69fce2f2cb408e35efa5d38633f3
parentf81b3a2095248e3dbb8b422d693dc752828dc94d

fix wording in comment


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

lib/std/compress/flate/inflate.zig+4-4
......@@ -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);