From 7bc4afb1acbb58cbb3960f50a147ea8f8e4fc7f2 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Wed, 13 May 2026 12:51:32 -0700 Subject: [PATCH] remove a usingnamespace --- ulid.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ulid.zig b/ulid.zig index 6cfe59dedfe1abde5620906db77e2435f5895b51..4bd391686cb81c60746bd0d0067f950a2ca6265d 100644 --- a/ulid.zig +++ b/ulid.zig @@ -37,7 +37,9 @@ pub const ULID = struct { pub const BaseType = string; - usingnamespace extras.StringerJsonStringifyMixin(@This()); + pub fn jsonStringify(self: @This(), json_stream: anytype) !void { + try json_stream.write(&self.bytes()); + } pub fn parse(alloc: std.mem.Allocator, value: BaseType) !ULID { if (value.len != 26) return error.Ulid; -- 2.54.0