From 094223d634dec0026a646a129fe62a676008b8a5 Mon Sep 17 00:00:00 2001 From: purringChaos Date: Tue, 21 Jul 2020 09:47:30 +0100 Subject: [PATCH] Fix log.zig example. --- lib/std/log.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/log.zig b/lib/std/log.zig index 3fb75b7e3719126132b026233452ec44b5cddd43..28a377462634b0c29cf4cea46de3aa0b46dffb78 100644 --- 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; //! } //! -- 2.54.0