diff options
| author | purringChaos <kitteh@kitteh.pw> | 2020-07-21 09:47:30 +0100 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2020-07-21 18:53:30 +0300 |
| commit | 094223d634dec0026a646a129fe62a676008b8a5 (patch) | |
| tree | 8bda4a8c34543e5b14e1eeff3b559044b15fc592 /lib | |
| parent | 4abf119d95eeacadcaf839ed58bd4704332fcb2f (diff) | |
| download | zig-094223d634dec0026a646a129fe62a676008b8a5.tar.gz zig-094223d634dec0026a646a129fe62a676008b8a5.zip | |
Fix log.zig example.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/std/log.zig | 2 |
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; //! } //! |
