diff --git a/nio.zig b/nio.zig index 07628ac3d9014b2f3e8d6fe9da4885d38082972f..1d40b42023e6968021c8f46393cd93d2a163452b 100644 --- a/nio.zig +++ b/nio.zig @@ -137,10 +137,10 @@ pub fn Writable(T: type, this_kind: enum { _var, _const, _bare }) type { ._bare => T, }; - // pub fn write(self: Self, bytes: []const u8) Error!usize { + // pub fn write(self: Self, bytes: []const u8) WriteError!usize { // } - // pub fn writev(self: Self, iovec: []const sys.struct_iovec) Error!usize { + // pub fn writev(self: Self, iovec: []const sys.struct_iovec) WriteError!usize { // } pub fn writeAll(self: Self, bytes: []const u8) Error!void {