mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 17:15:37 +00:00
std/os/uefi: require guid output function be comptime
This commit is contained in:
parent
7c12f93734
commit
e617e8a798
@ -32,7 +32,7 @@ pub const Guid = extern struct {
|
||||
options: fmt.FormatOptions,
|
||||
context: var,
|
||||
comptime Errors: type,
|
||||
output: fn (@TypeOf(context), []const u8) Errors!void,
|
||||
comptime output: fn (@TypeOf(context), []const u8) Errors!void,
|
||||
) Errors!void {
|
||||
if (f.len == 0) {
|
||||
return fmt.format(context, Errors, output, "{x:0>8}-{x:0>4}-{x:0>4}-{x:0>2}{x:0>2}-{x:0>12}", .{
|
||||
|
Loading…
Reference in New Issue
Block a user