authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-13 12:52:47 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-13 12:52:47 -07:00
log6e4e3983cea4fe7f705ce6c6606832fca409a4c7
tree6e4bb06254cf2c853c6ff7b79be36a4e570849ec
parent5547dc6ac414e0c7ff8fc1d7421cf0543e7286fa
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

remove a bunch of usingnamespace


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

time.zig+9-3
...@@ -453,7 +453,9 @@ pub const format = struct {...@@ -453,7 +453,9 @@ pub const format = struct {
453pub const TimeZone = enum {453pub const TimeZone = enum {
454 UTC,454 UTC,
455455
456 usingnamespace extras.TagNameJsonStringifyMixin(@This());456 pub fn jsonStringify(self: @This(), json_stream: anytype) !void {
457 try json_stream.write(@tagName(self));
458 }
457};459};
458460
459pub const WeekDay = enum {461pub const WeekDay = enum {
...@@ -477,14 +479,18 @@ pub const WeekDay = enum {...@@ -477,14 +479,18 @@ pub const WeekDay = enum {
477 };479 };
478 }480 }
479481
480 usingnamespace extras.TagNameJsonStringifyMixin(@This());482 pub fn jsonStringify(self: @This(), json_stream: anytype) !void {
483 try json_stream.write(@tagName(self));
484 }
481};485};
482486
483pub const Era = enum {487pub const Era = enum {
484 // BC,488 // BC,
485 AD,489 AD,
486490
487 usingnamespace extras.TagNameJsonStringifyMixin(@This());491 pub fn jsonStringify(self: @This(), json_stream: anytype) !void {
492 try json_stream.write(@tagName(self));
493 }
488};494};
489495
490pub fn isLeapYear(year: u16) bool {496pub fn isLeapYear(year: u16) bool {