From 9a1c388a4408e4dab3871c5dcb83efcc709b7d7f Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Tue, 26 May 2026 20:00:37 -0700 Subject: [PATCH] NullWriter: use _bare Writable since this is a zero-sized type --- null_writer.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/null_writer.zig b/null_writer.zig index 325213f28b1fd27b692f88554e339f21541b1fb5..6950efba0a952f3eb442efac5ef554d9f11307a1 100644 --- a/null_writer.zig +++ b/null_writer.zig @@ -9,7 +9,7 @@ const sys = switch (builtin.target.os.tag) { }; pub const NullWriter = struct { - const W = nio.Writable(@This(), ._var); + const W = nio.Writable(@This(), ._bare); pub const writeAll = W.writeAll; pub const writevAll = W.writevAll; pub const writeByteNTimes = W.writeByteNTimes; -- 2.54.0