zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 094223d634dec0026a646a129fe62a676008b8a5 (tree)
parent 4abf119d95eeacadcaf839ed58bd4704332fcb2f
Author: purringChaos <kitteh@kitteh.pw>
Date:   Tue, 21 Jul 2020 09:47:30 +0100

Fix log.zig example.
Diffstat:
Mlib/std/log.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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; //! } //!