diff options
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/debug.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index 591f2d1a80..f3c2cf3b31 100644 --- a/lib/std/debug.zig +++ b/lib/std/debug.zig @@ -52,8 +52,7 @@ pub const LineInfo = struct { var stderr_mutex = std.Mutex.init(); -/// Tries to write to stderr, unbuffered, and ignores any error returned. -/// Does not append a newline. +/// Deprecated. Use `std.log` functions for logging. pub fn warn(comptime fmt: []const u8, args: var) void { const held = stderr_mutex.acquire(); defer held.release(); |
