mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
Fix log.zig example.
This commit is contained in:
parent
4abf119d95
commit
094223d634
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue