diff --git a/time.zig b/time.zig index 3d8c182584ee5f17c401e579fcbfc334cf219b9a..117184666317bf5c1fc3dcd482049777ec3cb034 100644 --- a/time.zig +++ b/time.zig @@ -327,7 +327,7 @@ pub const DateTime = struct { } } - pub fn formatAlloc(self: Self, alloc: *std.mem.Allocator, comptime fmt: string) !string { + pub fn formatAlloc(self: Self, alloc: std.mem.Allocator, comptime fmt: string) !string { var list = std.ArrayList(u8).init(alloc); defer list.deinit();