From 5fbc371b418ff51c3681e29d8ec3f53b78bd8a59 Mon Sep 17 00:00:00 2001 From: Igor Anić Date: Wed, 14 Feb 2024 13:36:54 +0100 Subject: fix wording in comment --- lib/std/compress/flate/inflate.zig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/std') diff --git a/lib/std/compress/flate/inflate.zig b/lib/std/compress/flate/inflate.zig index d87a888d11..8051df7f0d 100644 --- a/lib/std/compress/flate/inflate.zig +++ b/lib/std/compress/flate/inflate.zig @@ -306,10 +306,10 @@ pub fn Inflate(comptime container: Container, comptime ReaderType: type) type { } /// Returns decompressed data from internal sliding window buffer. - /// Returned buffer can be any length between 0 and `limit` bytes. - /// 0 returned bytes means end of stream reached. - /// With limit=0 returns as much data can. It newer will be more - /// than 65536 bytes, which is limit of internal buffer. + /// Returned buffer can be any length between 0 and `limit` bytes. 0 + /// returned bytes means end of stream reached. With limit=0 returns as + /// much data it can. It newer will be more than 65536 bytes, which is + /// size of internal buffer. pub fn get(self: *Self, limit: usize) Error![]const u8 { while (true) { const out = self.hist.readAtMost(limit); -- cgit v1.2.3