diff --git a/ulid.zig b/ulid.zig index 2d745e7208024c61e0c5f0249c3a30882da4c5e3..e366c235a429b38b95588a1cd0274e7d865373a7 100644 --- a/ulid.zig +++ b/ulid.zig @@ -19,7 +19,7 @@ pub const Factory = struct { pub fn newULID(self: Factory) ULID { const now = std.time.milliTimestamp(); return ULID{ - .timestamp = std.math.cast(u48, now - self.epoch) orelse @panic("time.milliTimestamp() is higher than 281474976710655"), + .timestamp = std.math.cast(u48, now - self.epoch) orelse @panic("time.milliTimestamp() is higher than 281474976710655"), // this is Tue Aug 02 10889 05:31:50.655 UTC .randomnes = self.rand.int(u80), }; }