mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
remove bad assert
This commit is contained in:
parent
47aa5a70a5
commit
69b54b0cd1
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue