Skip to content

Commit

Permalink
In_channel.input_all: fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nojb committed Feb 1, 2022
1 parent 5cc897c commit 3286d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/in_channel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ let ensure buf ofs n =
in
let new_buf = Bytes.create new_len in
Bytes.blit buf 0 new_buf 0 ofs;
buf
new_buf
end

let input_all ic =
Expand Down

0 comments on commit 3286d49

Please sign in to comment.