]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sys/unix/io.rs
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / libstd / sys / unix / io.rs
index b4a64e93c842b606d31fc978bf4698cda8b39d6b..deb5ee76bd035381f91e76e18bccc87de4ad5d6e 100644 (file)
@@ -3,6 +3,7 @@
 
 use libc::{c_void, iovec};
 
+#[derive(Copy, Clone)]
 #[repr(transparent)]
 pub struct IoSlice<'a> {
     vec: iovec,