Skip to content

Commit

Permalink
Update src/unix/lwt_bytes.ml
Browse files Browse the repository at this point in the history
Co-authored-by: Raphaël Proust <[email protected]>
  • Loading branch information
hhugo and raphael-proust authored Sep 14, 2021
1 parent 4e636f9 commit cb7ad92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/lwt_bytes.ml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ let blit_from_string src_buf src_ofs dst_buf dst_ofs len =
if (len < 0
|| src_ofs < 0 || src_ofs > String.length src_buf - len
|| dst_ofs < 0 || dst_ofs > length dst_buf - len) then
invalid_arg "Lwt_bytes.blit_from_bytes"
invalid_arg "Lwt_bytes.blit_from_string"
else
unsafe_blit_from_string src_buf src_ofs dst_buf dst_ofs len

Expand Down

0 comments on commit cb7ad92

Please sign in to comment.