mirror of
https://github.com/ziglang/zig.git
synced 2025-12-31 10:33:19 +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.