Commit 151c7dc74b

tokyo4j <hrak1529@gmail.com>
2025-08-27 17:11:56
std.os.uefi: fix type error at MemoryType.format()
1 parent 417c68d
Changed files (1)
lib
std
os
lib/std/os/uefi/tables.zig
@@ -90,7 +90,7 @@ pub const MemoryType = enum(u32) {
         return @truncate(as_int - vendor_start);
     }
 
-    pub fn format(self: MemoryType, w: *std.io.Writer) std.io.WriteError!void {
+    pub fn format(self: MemoryType, w: *std.io.Writer) std.io.Writer.Error!void {
         if (self.toOem()) |oemval|
             try w.print("OEM({X})", .{oemval})
         else if (self.toVendor()) |vendorval|