aboutsummaryrefslogtreecommitdiff
path: root/src/main.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-09-25 20:50:40 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-09-25 20:50:40 -0700
commitaded86e6909e01dfb45b35204e9dedf6aabb3d58 (patch)
tree8b84db04a2537cd9005af7fbfab09a825633c0b5 /src/main.zig
parent21b407b17f25001b70bbd847f9b2d2782866597c (diff)
downloadzig-aded86e6909e01dfb45b35204e9dedf6aabb3d58.tar.gz
zig-aded86e6909e01dfb45b35204e9dedf6aabb3d58.zip
std.ArrayHashMap: count and iterator are not deprecated
These APIs allow one to write code that is agnostic of whether it is using an ArrayHashMap or a HashMap, which can be valuable. Specify intent precisely: if you only need the count of the items, it makes sense to have a function for that.
Diffstat (limited to 'src/main.zig')
0 files changed, 0 insertions, 0 deletions