summaryrefslogtreecommitdiff
path: root/src/sys/mod.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-04-08 20:05:41 +0000
committerGitHub <noreply@github.com>2022-04-08 20:05:41 +0000
commit256707e8c77d47b07c21948cc8f1457655831019 (patch)
treefb45b5b8a1841becfee12fd1743982f0f88f76d9 /src/sys/mod.rs
parent3b786fd71861d0a7fda5820ac9b987d0662a3981 (diff)
parent0b58f2977252739629b5175043d705f7fc76ea8d (diff)
downloadnix-256707e8c77d47b07c21948cc8f1457655831019.zip
Merge #1643
1643: Replace the IoVec struct with IoSlice and IoSliceMut from the standard library r=asomers a=notgull As per discussion in #1637, the `IoVec<&[u8]>` and `IoVec<&mut [u8]>` types have been replaced with `std::io::IoSlice` and `IoSliceMut`, respectively. Notable changes made in this pull request include: - The complete replacement of `IoVec` with `IoSlice*` types in both public API, private API, and tests. - Replacing `IoVec` with `IoSlice` in docs. - Replacing `&[IoVec<&mut [u8]>]` with `&mut [IoSliceMut]`, note that the slice requires a mutable reference now. This is how it's done in the standard library, and there might be a soundness issue in doing it the other way. Resolves #1637 Co-authored-by: not_a_seagull <notaseagull048@gmail.com>
Diffstat (limited to 'src/sys/mod.rs')
0 files changed, 0 insertions, 0 deletions