aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorIgor Anić <igor.anic@gmail.com>2024-02-14 13:36:54 +0100
committerIgor Anić <igor.anic@gmail.com>2024-02-14 18:28:20 +0100
commit5fbc371b418ff51c3681e29d8ec3f53b78bd8a59 (patch)
tree56c8c9a2b3ca69fce2f2cb408e35efa5d38633f3 /lib/std
parentf81b3a2095248e3dbb8b422d693dc752828dc94d (diff)
downloadzig-5fbc371b418ff51c3681e29d8ec3f53b78bd8a59.tar.gz
zig-5fbc371b418ff51c3681e29d8ec3f53b78bd8a59.zip
fix wording in comment
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/compress/flate/inflate.zig8
1 files changed, 4 insertions, 4 deletions
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);