diff options
author | bdonlan <bdonlan@gmail.com> | 2020-09-24 14:50:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 14:50:10 -0700 |
commit | 760ae89401d9addb71ebf19674980577b5501edd (patch) | |
tree | 6873df65d0ef9873871a329b863b24d553a1bcb8 /tokio-test | |
parent | 56acde069fe7fc57259e72de612f0c91c1320972 (diff) |
chore: Use IoSlice's Copy impl to clean up some repetitive code (#2875)
As we go into 0.3 we no longer need to support older versions of Rust where
IoSlice did not implement Copy and Clone, so we can more easily initialize the
IoSlice array in net::tcp::stream.
Co-authored-by: Bryan Donlan <bdonlan@amazon.com>
Diffstat (limited to 'tokio-test')
0 files changed, 0 insertions, 0 deletions