File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,9 @@ pub fn Map(comptime Key: type, comptime Value: type) type {
7
7
return std .json .ArrayHashMap (Value );
8
8
}
9
9
10
+ const static_string_map_renamed_zig_version = std .SemanticVersion .parse ("0.13.0-dev.33+8af59d1f9" ) catch unreachable ;
11
+
10
12
pub fn StaticStringMap (comptime T : type ) type {
11
- const static_string_map_renamed_zig_version = std .SemanticVersion .parse ("0.13.0-dev.33+8af59d1f9" ) catch unreachable ;
12
13
if (@import ("builtin" ).zig_version .order (static_string_map_renamed_zig_version ) == .lt ) {
13
14
return type ;
14
15
} else {
@@ -17,7 +18,6 @@ pub fn StaticStringMap(comptime T: type) type {
17
18
}
18
19
19
20
pub fn staticStringMapInitComptime (comptime T : type , comptime kvs_list : anytype ) StaticStringMap (T ) {
20
- const static_string_map_renamed_zig_version = std .SemanticVersion .parse ("0.13.0-dev.33+8af59d1f9" ) catch unreachable ;
21
21
if (@import ("builtin" ).zig_version .order (static_string_map_renamed_zig_version ) == .lt ) {
22
22
@setEvalBranchQuota (kvs_list .len * kvs_list .len );
23
23
return std .ComptimeStringMap (T , kvs_list );
You can’t perform that action at this time.
0 commit comments