mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-28 03:17:08 +03:00
Remove usages of deprecatedWriter
This commit is contained in:
committed by
Andrew Kelley
parent
37ecaae639
commit
de489031d8
+2
-2
@@ -47,8 +47,8 @@
|
||||
//! // Print the message to stderr, silently ignoring any errors
|
||||
//! std.debug.lockStdErr();
|
||||
//! defer std.debug.unlockStdErr();
|
||||
//! const stderr = std.fs.File.stderr().deprecatedWriter();
|
||||
//! nosuspend stderr.print(prefix ++ format ++ "\n", args) catch return;
|
||||
//! var stderr = std.fs.File.stderr().writer(&.{});
|
||||
//! nosuspend stderr.interface.print(prefix ++ format ++ "\n", args) catch return;
|
||||
//! }
|
||||
//!
|
||||
//! pub fn main() void {
|
||||
|
||||
Reference in New Issue
Block a user