authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-24 22:16:59 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2025-08-24 22:16:59 -07:00
log4ff301b3fea0039bd6247ceff407cb40cef6f8c7
tree69e4c0ef31d8eb8b70703410e9c1c739f875e62c
parentfaee6e5d1569075cf148744c95bd532b69c43028

Readable added another param


1 files changed, 1 insertions(+), 1 deletions(-)

File.zig+1-1
......@@ -19,7 +19,7 @@ pub const ReadError = switch (builtin.target.os.tag) {
1919 => errno.Error,
2020 else => @compileError("TODO"),
2121};
22pub usingnamespace nio.Readable(@This());
22pub usingnamespace nio.Readable(@This(), ._bare);
2323pub fn read(self: File, buffer: []u8) ReadError!usize {
2424 return sys_libc.read(@intFromEnum(self.fd), buffer);
2525}