diff options
Diffstat (limited to 'lib/std/log.zig')
| -rw-r--r-- | lib/std/log.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/log.zig b/lib/std/log.zig index ca3896e2da..113831e462 100644 --- a/lib/std/log.zig +++ b/lib/std/log.zig @@ -47,8 +47,8 @@ //! // Print the message to stderr, silently ignoring any errors //! std.debug.lockStdErr(); //! defer std.debug.unlockStdErr(); -//! const stderr = std.fs.File.stderr().deprecatedWriter(); -//! nosuspend stderr.print(prefix ++ format ++ "\n", args) catch return; +//! var stderr = std.fs.File.stderr().writer(&.{}); +//! nosuspend stderr.interface.print(prefix ++ format ++ "\n", args) catch return; //! } //! //! pub fn main() void { |
