aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpurringChaos <kitteh@kitteh.pw>2020-07-21 09:47:30 +0100
committerVeikka Tuominen <git@vexu.eu>2020-07-21 18:53:30 +0300
commit094223d634dec0026a646a129fe62a676008b8a5 (patch)
tree8bda4a8c34543e5b14e1eeff3b559044b15fc592
parent4abf119d95eeacadcaf839ed58bd4704332fcb2f (diff)
downloadzig-094223d634dec0026a646a129fe62a676008b8a5.tar.gz
zig-094223d634dec0026a646a129fe62a676008b8a5.zip
Fix log.zig example.
-rw-r--r--lib/std/log.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/log.zig b/lib/std/log.zig
index 3fb75b7e37..28a3774626 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;
//! }
//!