authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-08-11 00:00:17 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2024-08-11 00:00:17 -07:00
logb3967c9db9fcd4febc0b7ef6558474d8c4ab8828
treeb83850d58d796a4b8777e17140070e0831a7c1d9
parent6d7743ec51d3ee14a69ff4439ebd97e9e7d4f0b9

make this struct packed because it fits cleanly into a u128


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

ulid.zig+1-1
...@@ -30,7 +30,7 @@ pub const Factory = struct {...@@ -30,7 +30,7 @@ pub const Factory = struct {
30/// |----------| |----------------|30/// |----------| |----------------|
31/// Timestamp Randomness31/// Timestamp Randomness
32/// 48bits 80bits32/// 48bits 80bits
33pub const ULID = struct {33pub const ULID = packed struct {
34 timestamp: u48,34 timestamp: u48,
35 randomnes: u80,35 randomnes: u80,
3636