| author | |
| committer | |
| log | 4ff301b3fea0039bd6247ceff407cb40cef6f8c7 |
| tree | 69e4c0ef31d8eb8b70703410e9c1c739f875e62c |
| parent | faee6e5d1569075cf148744c95bd532b69c43028 |
1 files changed, 1 insertions(+), 1 deletions(-)
File.zig+1-1| ... | ... | @@ -19,7 +19,7 @@ pub const ReadError = switch (builtin.target.os.tag) { |
| 19 | 19 | => errno.Error, |
| 20 | 20 | else => @compileError("TODO"), |
| 21 | 21 | }; |
| 22 | pub usingnamespace nio.Readable(@This()); | |
| 22 | pub usingnamespace nio.Readable(@This(), ._bare); | |
| 23 | 23 | pub fn read(self: File, buffer: []u8) ReadError!usize { |
| 24 | 24 | return sys_libc.read(@intFromEnum(self.fd), buffer); |
| 25 | 25 | } |