zig

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

commit f6195be99770e3f9cc4e8a89bcf451a640bb4b95 (tree)
parent d75cbb01db4f7fb73c4382af4351dc0e393d5d39
Author: Rocknest <35231115+Rocknest@users.noreply.github.com>
Date:   Sun, 13 Sep 2020 23:31:59 +0300

fix ref

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 @@ -79,7 +79,7 @@ const std = @import("std.zig"); pub const randomBytes = std.os.getrandom; test "crypto" { - inline for (std.meta.declarations(std)) |decl| { + inline for (std.meta.declarations(@This())) |decl| { switch (decl.data) { .Type => |t| { std.meta.refAllDecls(t);