authorgravatar for kitteh@kitteh.pwpurringChaos <kitteh@kitteh.pw> 2020-07-21 09:47:30+01:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2020-07-21 18:53:30+03:00
log094223d634dec0026a646a129fe62a676008b8a5
tree8bda4a8c34543e5b14e1eeff3b559044b15fc592
parent4abf119d95eeacadcaf839ed58bd4704332fcb2f

Fix log.zig example.


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/log.zig+1-1
...@@ -39,7 +39,7 @@ const root = @import("root");...@@ -39,7 +39,7 @@ const root = @import("root");
39//! // Print the message to stderr, silently ignoring any errors39//! // Print the message to stderr, silently ignoring any errors
40//! const held = std.debug.getStderrMutex().acquire();40//! const held = std.debug.getStderrMutex().acquire();
41//! defer held.release();41//! defer held.release();
42//! const stderr = std.debug.getStderrStream();42//! const stderr = std.io.getStdErr().writer();
43//! nosuspend stderr.print(prefix ++ format, args) catch return;43//! nosuspend stderr.print(prefix ++ format, args) catch return;
44//! }44//! }
45//!45//!