diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-05-24 09:44:08 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-24 09:44:08 -0400 |
| commit | 2ff3995a708b03480d5ca51b3ffa92f52cdf81d0 (patch) | |
| tree | f6abe8da2a54b481e15bccc7468c7ec283330413 /lib/std/rand.zig | |
| parent | 882921b5dd5d6527198f67f9514bca6d5c24798b (diff) | |
| parent | 8a3cd82b854164758eef17440d86105472e9e7a9 (diff) | |
| download | zig-2ff3995a708b03480d5ca51b3ffa92f52cdf81d0.tar.gz zig-2ff3995a708b03480d5ca51b3ffa92f52cdf81d0.zip | |
Merge pull request #5378 from ziglang/speed-up-stage2-parsing
improve std.zig.parse performance using flat arrays for AST nodes and tokens
Diffstat (limited to 'lib/std/rand.zig')
| -rw-r--r-- | lib/std/rand.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/rand.zig b/lib/std/rand.zig index 45a1172b3d..1e5bb37592 100644 --- a/lib/std/rand.zig +++ b/lib/std/rand.zig @@ -658,7 +658,7 @@ pub const Xoroshiro128 = struct { self.s[1] = s1; } - fn seed(self: *Xoroshiro128, init_s: u64) void { + pub fn seed(self: *Xoroshiro128, init_s: u64) void { // Xoroshiro requires 128-bits of seed. var gen = SplitMix64.init(init_s); |
