mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
std.crypto.random: Randoms are no longer passed by reference
This commit is contained in:
parent
0817d6b215
commit
f1b79c9a44
@ -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");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user