Rollup merge of #69403 - LeSeulArtichaut:copy-ioslice, r=sfackler
Implement `Copy` for `IoSlice` Resolves #69395 r? @sfackler
This commit is contained in:
commit
5d90154886
10 changed files with 10 additions and 0 deletions
|
@ -1050,6 +1050,7 @@ impl<'a> DerefMut for IoSliceMut<'a> {
|
|||
/// ABI compatible with the `iovec` type on Unix platforms and `WSABUF` on
|
||||
/// Windows.
|
||||
#[stable(feature = "iovec", since = "1.36.0")]
|
||||
#[derive(Copy, Clone)]
|
||||
#[repr(transparent)]
|
||||
pub struct IoSlice<'a>(sys::io::IoSlice<'a>);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue