| ... | @@ -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 errors | 39 | //! // 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 | //! |