zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 8ed432fe3c00a7879511719f7db5eb9bd195d3d2 (tree)
parent 148b963a606c2a7b71dced22d1d5b42cce4d9c04
Author: Meghan <hello@nektro.net>
Date:   Mon, 24 Jan 2022 23:28:45 -0800

std.crypto.random: `Random`s are no longer passed by reference
Diffstat:
Mlib/std/crypto.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/crypto.zig b/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");