Skip to content

Commit 1bfdcb9

Browse files
committed
use arrayhashmap
1 parent 5ff2180 commit 1bfdcb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/zonparse-master.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const assert = std.debug.assert;
2222
const ArrayListUnmanaged = std.ArrayListUnmanaged;
2323

2424
/// a hashmap to be populated by a zon struct with runtime known fields as keys
25-
pub const ZonStructHashMap = std.StringHashMapUnmanaged;
25+
pub const ZonStructHashMap = std.StringArrayHashMapUnmanaged;
2626

2727
pub inline fn structIsZonHashMap(comptime T: type) bool {
2828
if (!@hasDecl(T, "KV") or @TypeOf(T.KV) != type) return false;

0 commit comments

Comments
 (0)