zig

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

commit b2b48fbf2cf84744e5d154b7d4f62b298f725f2b (tree)
parent a2069612a5ee838fd88fdeb93f44c4d4fb1fcb8b
Author: Ryan Liptak <squeek502@hotmail.com>
Date:   Thu, 20 Jan 2022 07:19:16 -0800

Set EnvMap.Size to BufMap.BufMapHashMap.Size

Now that BufMap.BufMapHashMap is pub, we can just get Size directly

Diffstat:
Mlib/std/process.zig | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/std/process.zig b/lib/std/process.zig @@ -307,8 +307,7 @@ pub const EnvMap = struct { else => std.BufMap, }; - /// Matches what BufMap uses for its internal HashMap Size - pub const Size = u32; + pub const Size = std.BufMap.BufMapHashMap.Size; const Self = @This();