| author | |
| committer | |
| log | cc7de1ba3fe2f0b7a8e1c2272cafd1425cdbf4b7 |
| tree | 1cf63cf977c255c690ea30f24fac91f41eb0861f |
| parent | 7bc4afb1acbb58cbb3960f50a147ea8f8e4fc7f2 |
| signature |
1 files changed, 1 insertions(+), 1 deletions(-)
ulid.zig+1-1| ... | ... | @@ -52,7 +52,7 @@ pub const ULID = struct { |
| 52 | 52 | pub fn toString(self: ULID, alloc: std.mem.Allocator) !BaseType { |
| 53 | 53 | var res = try std.ArrayList(u8).initCapacity(alloc, 26); |
| 54 | 54 | defer res.deinit(); |
| 55 | try res.writer().print("{}", .{self}); | |
| 55 | try res.appendSlice(&self.bytes()); | |
| 56 | 56 | return res.toOwnedSlice(); |
| 57 | 57 | } |
| 58 | 58 |