diff options
| author | Meghan <hello@nektro.net> | 2022-01-24 23:28:45 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-01-25 13:00:39 -0500 |
| commit | f1b79c9a442c57eab353401f4e88e8a595ab01f8 (patch) | |
| tree | 3eb68d5d2e72b3195291b88dad908fb10ee621fd /lib/std | |
| parent | 0817d6b2150a00ab0d552888fc4822fced8e0f5f (diff) | |
| download | zig-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.zig | 2 |
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"); |
