mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
Fix log.zig example.
This commit is contained in:
parent
4abf119d95
commit
094223d634
@ -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;
|
||||
//! }
|
||||
//!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user