authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-22 13:54:35 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-22 13:54:35 -07:00
logcc7de1ba3fe2f0b7a8e1c2272cafd1425cdbf4b7
tree1cf63cf977c255c690ea30f24fac91f41eb0861f
parent7bc4afb1acbb58cbb3960f50a147ea8f8e4fc7f2
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

no need to use print here


1 files changed, 1 insertions(+), 1 deletions(-)

ulid.zig+1-1
...@@ -52,7 +52,7 @@ pub const ULID = struct {...@@ -52,7 +52,7 @@ pub const ULID = struct {
52 pub fn toString(self: ULID, alloc: std.mem.Allocator) !BaseType {52 pub fn toString(self: ULID, alloc: std.mem.Allocator) !BaseType {
53 var res = try std.ArrayList(u8).initCapacity(alloc, 26);53 var res = try std.ArrayList(u8).initCapacity(alloc, 26);
54 defer res.deinit();54 defer res.deinit();
55 try res.writer().print("{}", .{self});55 try res.appendSlice(&self.bytes());
56 return res.toOwnedSlice();56 return res.toOwnedSlice();
57 }57 }
5858