| author | |
| committer | |
| log | d29ed2a78567e26065e021d6dd2cbcb952b9d7d0 |
| tree | ea45f0d69513f7e74faa74b2c1141a6871953fdc |
| parent | b702964ae279156418f1110435103e30167af982 |
1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/io/stream_source.zig+1-1| ... | ... | @@ -39,7 +39,7 @@ pub const StreamSource = union(enum) { |
| 39 | 39 | pub fn write(self: *StreamSource, bytes: []const u8) WriteError!usize { |
| 40 | 40 | switch (self.*) { |
| 41 | 41 | .buffer => |*x| return x.write(bytes), |
| 42 | .const_buffer => |*x| return x.write(bytes), | |
| 42 | .const_buffer => return error.AccessDenied, | |
| 43 | 43 | .file => |x| return x.write(bytes), |
| 44 | 44 | } |
| 45 | 45 | } |