Commit 8ed432fe3c

Meghan <hello@nektro.net>
2022-01-25 08:28:45
std.crypto.random: `Random`s are no longer passed by reference
1 parent 148b963
Changed files (1)
lib
lib/std/crypto.zig
@@ -158,7 +158,7 @@ pub const nacl = struct {
 pub const utils = @import("crypto/utils.zig");
 
 /// This is a thread-local, cryptographically secure pseudo random number generator.
-pub const random = &@import("crypto/tlcsprng.zig").interface;
+pub const random = @import("crypto/tlcsprng.zig").interface;
 
 const std = @import("std.zig");