aboutsummaryrefslogtreecommitdiff
path: root/lib/std/buf_map.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-05-12 02:49:11 -0400
committerGitHub <noreply@github.com>2022-05-12 02:49:11 -0400
commit5c20c7036bebe443a22a4961ee8f2cd37f65a643 (patch)
tree1b54f76710d65cfee949248f919426dc10939c33 /lib/std/buf_map.zig
parentd383b940c2e9c9d0f2e8ef7607b38b7a74021b47 (diff)
parentaef642fc0731f18514e5ffd6f743274789774f21 (diff)
downloadzig-5c20c7036bebe443a22a4961ee8f2cd37f65a643.tar.gz
zig-5c20c7036bebe443a22a4961ee8f2cd37f65a643.zip
Merge pull request #10796 from marler8997/envmap
Envmap
Diffstat (limited to 'lib/std/buf_map.zig')
-rw-r--r--lib/std/buf_map.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/buf_map.zig b/lib/std/buf_map.zig
index 5b26ae9684..2a6239c490 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();
}