Commit 33c4ad7f3a

John Burton <john.burton@jbmail.com>
2020-10-18 21:12:23
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.
1 parent 3ab4d11
Changed files (1)
lib
lib/std/json.zig
@@ -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;
     }
 };