Commit 094223d634

purringChaos <kitteh@kitteh.pw>
2020-07-21 10:47:30
Fix log.zig example.
1 parent 4abf119
Changed files (1)
lib
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;
 //! }
 //!