From f6195be99770e3f9cc4e8a89bcf451a640bb4b95 Mon Sep 17 00:00:00 2001 From: Rocknest <35231115+Rocknest@users.noreply.github.com> Date: Sun, 13 Sep 2020 23:31:59 +0300 Subject: [PATCH] fix ref --- lib/std/crypto.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/crypto.zig b/lib/std/crypto.zig index 9df96dec7d..3a1ae599a0 100644 --- 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);