fn invalidateStrings(h: *Head) void h: *Head230
231
232
233
234 fn invalidateStrings(h: *Head) void {
h.target = undefined;
if (h.expect) |*s| s.* = undefined;
if (h.content_type) |*s| s.* = undefined;
}
Help the programmer avoid bugs by calling this when the string memory of
Headbecomes invalidated.