authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-30 03:35:19 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-05-30 03:35:19 -07:00
log1dbb8eec4059e6b49e9a590300355f8090c681c7
treee16ebd3cbec2e10818353fdbb7486516a984dfc5
parent00e899bec815bc2b49c6e5a72a7cfeeda673e133
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

forward Mapping.get_string returning nul-terminated


1 files changed, 1 insertions(+), 1 deletions(-)

yaml.zig+1-1
......@@ -164,7 +164,7 @@ pub const Mapping = struct {
164164 return null;
165165 }
166166
167 pub fn get_string(self: Mapping, k: string) ?string {
167 pub fn get_string(self: Mapping, k: string) ?[:0]const u8 {
168168 return self.getT(k, .string);
169169 }
170170