Set EnvMap.Size to BufMap.BufMapHashMap.Size

Now that BufMap.BufMapHashMap is pub, we can just get Size directly
This commit is contained in:
Ryan Liptak 2022-01-20 07:19:16 -08:00 committed by Jonathan Marler
parent a2069612a5
commit b2b48fbf2c

View File

@ -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();