diff --git a/yaml.zig b/yaml.zig index d369d32e867be639b5d45eba5a3087f97cdecd5d..0cc41325a61e6143eb7f832e24938be2efb79333 100644 --- a/yaml.zig +++ b/yaml.zig @@ -87,7 +87,7 @@ pub const Item = union(enum) { pub const Sequence = []const Item; pub const Key = struct { - key: string, + key: [:0]const u8, value: Value, pub fn deinit(self: *const Key, alloc: std.mem.Allocator) void {