| ... | @@ -90,7 +90,7 @@ pub const MemoryType = enum(u32) { | ... | @@ -90,7 +90,7 @@ pub const MemoryType = enum(u32) { |
| 90 | return @truncate(as_int - vendor_start); | 90 | return @truncate(as_int - vendor_start); |
| 91 | } | 91 | } |
| 92 | | 92 | |
| 93 | pub fn format(self: MemoryType, w: *std.io.Writer) std.io.WriteError!void { | 93 | pub fn format(self: MemoryType, w: *std.io.Writer) std.io.Writer.Error!void { |
| 94 | if (self.toOem()) |oemval| | 94 | if (self.toOem()) |oemval| |
| 95 | try w.print("OEM({X})", .{oemval}) | 95 | try w.print("OEM({X})", .{oemval}) |
| 96 | else if (self.toVendor()) |vendorval| | 96 | else if (self.toVendor()) |vendorval| |