about summary refs log tree commit diff
path: root/src/libstd/sys/unix/io.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sys/unix/io.rs')
-rw-r--r--src/libstd/sys/unix/io.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/unix/io.rs b/src/libstd/sys/unix/io.rs
index b4a64e93c84..deb5ee76bd0 100644
--- a/src/libstd/sys/unix/io.rs
+++ b/src/libstd/sys/unix/io.rs
@@ -3,6 +3,7 @@ use crate::slice;
 
 use libc::{c_void, iovec};
 
+#[derive(Copy, Clone)]
 #[repr(transparent)]
 pub struct IoSlice<'a> {
     vec: iovec,