commit 784e89fd4b081900baaa9052273bccefc91d01ed (tree)
parent 360bc28c9646ef6bcd6136f8a088930201e02012
Author: Toufiq Shishir <toufiqshishir@outlook.com>
Date: Tue, 24 Feb 2026 01:26:27 +0600
fix: remove null argument from std.debug.lockStderr call inside std.json.Value.dump
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/json/dynamic.zig b/lib/std/json/dynamic.zig
@@ -47,7 +47,7 @@ pub const Value = union(enum) {
}
pub fn dump(v: Value) void {
- const stderr = std.debug.lockStderr(&.{}, null);
+ const stderr = std.debug.lockStderr(&.{});
defer std.debug.unlockStderr();
json.Stringify.value(v, .{}, &stderr.file_writer.interface) catch return;
}