mirror of
https://github.com/ziglang/zig.git
synced 2026-02-04 05:33:39 +00:00
If a partial read occurs past the halfway point, buf.len - i will be less than i, which is illegal. The end bound is also entirely unecessary in this case, so just remove it.