Add missing std in dump function json.zig

Add missing std to use of std.io.getStdErr in the function dump
so that it compiles.
This commit is contained in:
John Burton 2020-10-18 20:12:23 +01:00 committed by Veikka Tuominen
parent 3ab4d112e0
commit 33c4ad7f3a

View File

@ -1293,7 +1293,7 @@ pub const Value = union(enum) {
var held = std.debug.getStderrMutex().acquire();
defer held.release();
const stderr = io.getStdErr().writer();
const stderr = std.io.getStdErr().writer();
std.json.stringify(self, std.json.StringifyOptions{ .whitespace = null }, stderr) catch return;
}
};