Commit 2028b4ce91

Luna <git@l4.pm>
2020-03-28 02:31:40
Fix typo in Serializer declaration
1 parent d788b0c
Changed files (1)
lib/std/io/serialization.zig
@@ -209,7 +209,7 @@ pub fn deserializer(
 ///  to the serializer struct.
 pub fn Serializer(comptime endian: builtin.Endian, comptime packing: Packing, comptime OutStreamType: type) type {
     return struct {
-        out_stream: if (packing == .Bit) BitOutStream(endian, OutStreamType) else OutStreamType,
+        out_stream: if (packing == .Bit) io.BitOutStream(endian, OutStreamType) else OutStreamType,
 
         const Self = @This();
         pub const Error = OutStreamType.Error;