@@ -161,7 +161,7 @@ pub fn BufferedInStreamCustom(comptime buffer_size: usize, comptime Error: type)
161161 const Self = @This ();
162162 const Stream = InStream (Error );
163163
164- pub stream : Stream ,
164+ stream : Stream ,
165165
166166 unbuffered_in_stream : * Stream ,
167167
@@ -273,7 +273,7 @@ pub fn PeekStream(comptime buffer_size: usize, comptime InStreamError: type) typ
273273 pub const Error = InStreamError ;
274274 pub const Stream = InStream (Error );
275275
276- pub stream : Stream ,
276+ stream : Stream ,
277277 base : * Stream ,
278278
279279 // Right now the look-ahead space is statically allocated, but a version with dynamic allocation
@@ -336,7 +336,7 @@ pub const SliceInStream = struct {
336336 pub const Error = error {};
337337 pub const Stream = InStream (Error );
338338
339- pub stream : Stream ,
339+ stream : Stream ,
340340
341341 pos : usize ,
342342 slice : []const u8 ,
@@ -514,9 +514,9 @@ pub const SliceOutStream = struct {
514514 pub const Error = error {OutOfSpace };
515515 pub const Stream = OutStream (Error );
516516
517- pub stream : Stream ,
517+ stream : Stream ,
518518
519- pub pos : usize ,
519+ pos : usize ,
520520 slice : []u8 ,
521521
522522 pub fn init (slice : []u8 ) SliceOutStream {
@@ -571,7 +571,7 @@ pub const NullOutStream = struct {
571571 pub const Error = error {};
572572 pub const Stream = OutStream (Error );
573573
574- pub stream : Stream ,
574+ stream : Stream ,
575575
576576 pub fn init () NullOutStream {
577577 return NullOutStream {
@@ -595,8 +595,8 @@ pub fn CountingOutStream(comptime OutStreamError: type) type {
595595 pub const Stream = OutStream (Error );
596596 pub const Error = OutStreamError ;
597597
598- pub stream : Stream ,
599- pub bytes_written : u64 ,
598+ stream : Stream ,
599+ bytes_written : u64 ,
600600 child_stream : * Stream ,
601601
602602 pub fn init (child_stream : * Stream ) Self {
@@ -635,7 +635,7 @@ pub fn BufferedOutStreamCustom(comptime buffer_size: usize, comptime OutStreamEr
635635 pub const Stream = OutStream (Error );
636636 pub const Error = OutStreamError ;
637637
638- pub stream : Stream ,
638+ stream : Stream ,
639639
640640 unbuffered_out_stream : * Stream ,
641641
@@ -1084,7 +1084,7 @@ pub fn Deserializer(comptime endian: builtin.Endian, comptime packing: Packing,
10841084 // safety. If it is bad, it will be caught anyway.
10851085 const TagInt = @TagType (TagType );
10861086 const tag = try self .deserializeInt (TagInt );
1087-
1087+
10881088 inline for (info .fields ) | field_info | {
10891089 if (field_info .enum_field .? .value == tag ) {
10901090 const name = field_info .name ;
0 commit comments