aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorMeghan <hello@nektro.net>2022-01-24 23:28:45 -0800
committerAndrew Kelley <andrew@ziglang.org>2022-01-25 13:00:39 -0500
commitf1b79c9a442c57eab353401f4e88e8a595ab01f8 (patch)
tree3eb68d5d2e72b3195291b88dad908fb10ee621fd /lib/std
parent0817d6b2150a00ab0d552888fc4822fced8e0f5f (diff)
downloadzig-f1b79c9a442c57eab353401f4e88e8a595ab01f8.tar.gz
zig-f1b79c9a442c57eab353401f4e88e8a595ab01f8.zip
std.crypto.random: `Random`s are no longer passed by reference
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/crypto.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/crypto.zig b/lib/std/crypto.zig
index 313cb7680f..b13ba000cf 100644
--- 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");