From 60659345352a1d63c8a087c6bec784d026ceedd3 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Fri, 24 Dec 2021 20:31:37 -0800 Subject: [PATCH] update for zig 0.9.0 --- time.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.54.0