diff --git a/ulid.zig b/ulid.zig index 18f1be0ff714e610c7a342051ff1a5ce0a5c27d8..84c69b0cf6d7b47c78891f06e27ddb0f055d9629 100644 --- a/ulid.zig +++ b/ulid.zig @@ -7,9 +7,9 @@ const extras = @import("extras"); pub const Factory = struct { epoch: i64, - rand: *std.rand.Random, + rand: std.rand.Random, - pub fn init(epoch: i64, rand: *std.rand.Random) Factory { + pub fn init(epoch: i64, rand: std.rand.Random) Factory { return Factory{ .epoch = epoch, .rand = rand,