mirror of
https://github.com/ziglang/zig.git
synced 2026-01-09 08:55:36 +00:00
remove bad assert
This commit is contained in:
parent
47aa5a70a5
commit
69b54b0cd1
@ -487,7 +487,6 @@ pub const Reader = struct {
|
||||
|
||||
fn readVecPositional(r: *Reader, data: [][]u8) Io.Reader.Error!usize {
|
||||
const io = r.io;
|
||||
assert(r.interface.bufferedLen() == 0);
|
||||
var iovecs_buffer: [max_buffers_len][]u8 = undefined;
|
||||
const dest_n, const data_size = try r.interface.writableVector(&iovecs_buffer, data);
|
||||
const dest = iovecs_buffer[0..dest_n];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user