diff options
author | Ori Bernstein <ori@eigenstate.org> | 2016-02-04 21:14:50 -0800 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2016-02-04 21:14:50 -0800 |
commit | 9edbd938a58bdcd53f38bc4b8fcdae73177432c4 (patch) | |
tree | 9db0236d4b1b903865a6e09ff7209408f193213b /lib/bio | |
parent | 49d55e7425056ea5704fffe9f19f76c659079348 (diff) | |
download | mc-9edbd938a58bdcd53f38bc4b8fcdae73177432c4.tar.gz |
Make std.sljoin consistent.
Diffstat (limited to 'lib/bio')
-rw-r--r-- | lib/bio/bio.myr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bio/bio.myr b/lib/bio/bio.myr index 6ca56d9..e63be54 100644 --- a/lib/bio/bio.myr +++ b/lib/bio/bio.myr @@ -536,7 +536,7 @@ const readinto = {f, buf, n var ret std.assert(f.rstart + n <= f.rend, "Reading too much from buffer") - ret = std.sljoin(buf, f.rbuf[f.rstart:f.rstart + n]) + ret = std.sljoin(&buf, f.rbuf[f.rstart:f.rstart + n]) f.rstart += n -> ret } |