diff --git a/lib/std/log.zig b/lib/std/log.zig index 3fb75b7e3719126132b026233452ec44b5cddd43..28a377462634b0c29cf4cea46de3aa0b46dffb78 100644 --- a/lib/std/log.zig +++ b/lib/std/log.zig @@ -39,7 +39,7 @@ const root = @import("root"); //! // Print the message to stderr, silently ignoring any errors //! const held = std.debug.getStderrMutex().acquire(); //! defer held.release(); -//! const stderr = std.debug.getStderrStream(); +//! const stderr = std.io.getStdErr().writer(); //! nosuspend stderr.print(prefix ++ format, args) catch return; //! } //!