diff --git a/lib/std/buf_map.zig b/lib/std/buf_map.zig index bd59d6da454e34d2d3844494b40c2d4fdd0ed94e..5d155747d20fa2ca2e1ef4ff07d7bc7c81c9feee 100644 --- a/lib/std/buf_map.zig +++ b/lib/std/buf_map.zig @@ -82,7 +82,7 @@ pub const BufMap = struct { } /// Returns the number of KV pairs stored in the map. - pub fn count(self: BufMap) usize { + pub fn count(self: BufMap) BufMapHashMap.Size { return self.hash_map.count(); }