From cc7de1ba3fe2f0b7a8e1c2272cafd1425cdbf4b7 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Fri, 22 May 2026 13:54:35 -0700 Subject: [PATCH] no need to use print here --- ulid.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ulid.zig b/ulid.zig index 4bd391686cb81c60746bd0d0067f950a2ca6265d..88bcc4e6bd582b5ec70794403f1cf50632d62247 100644 --- a/ulid.zig +++ b/ulid.zig @@ -52,7 +52,7 @@ pub const ULID = struct { pub fn toString(self: ULID, alloc: std.mem.Allocator) !BaseType { var res = try std.ArrayList(u8).initCapacity(alloc, 26); defer res.deinit(); - try res.writer().print("{}", .{self}); + try res.appendSlice(&self.bytes()); return res.toOwnedSlice(); } -- 2.54.0