authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-09 22:31:27-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-11 15:39:48-08:00
logda6d79c47c2d655ae30bed8bcef48134de8d157a
treeaa9afe9271da8f028f63ebcc6137b470c38bc63c
parentc2d37224c843feb84f4522ec35d192968b786e08

water cooler complaint about gzip stream namespace


1 files changed, 3 insertions(+), 0 deletions(-)

lib/std/compress/gzip.zig+3
...@@ -17,6 +17,9 @@ const FCOMMENT = 1 << 4;...@@ -17,6 +17,9 @@ const FCOMMENT = 1 << 4;
1717
18const max_string_len = 1024;18const max_string_len = 1024;
1919
20/// TODO: the fully qualified namespace to this declaration is
21/// std.compress.gzip.GzipStream which has a redundant "gzip" in the name.
22/// Instead, it should be `std.compress.gzip.Stream`.
20pub fn GzipStream(comptime ReaderType: type) type {23pub fn GzipStream(comptime ReaderType: type) type {
21 return struct {24 return struct {
22 const Self = @This();25 const Self = @This();