about summary refs log tree commit diff
path: root/src/libstd/sys/sgx
diff options
context:
space:
mode:
authorLeSeulArtichaut <leseulartichaut@gmail.com>2020-02-23 18:18:45 +0100
committerLeSeulArtichaut <leseulartichaut@gmail.com>2020-02-23 18:32:36 +0100
commit79b8ad84c84481a43704213cd0948d2ba0ea63b4 (patch)
tree809bf0a06c21790dd1ab32d3675384971b600ac3 /src/libstd/sys/sgx
parent87b0d83745c0cc5b3679e406fbdbf0e8a8bfd3c6 (diff)
downloadrust-79b8ad84c84481a43704213cd0948d2ba0ea63b4.tar.gz
rust-79b8ad84c84481a43704213cd0948d2ba0ea63b4.zip
Implement `Copy` for `IoSlice`
Diffstat (limited to 'src/libstd/sys/sgx')
-rw-r--r--src/libstd/sys/sgx/io.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/sys/sgx/io.rs b/src/libstd/sys/sgx/io.rs
index 976e122463d..d5f475b4310 100644
--- a/src/libstd/sys/sgx/io.rs
+++ b/src/libstd/sys/sgx/io.rs
@@ -1,5 +1,6 @@
 use crate::mem;
 
+#[derive(Copy, Clone)]
 pub struct IoSlice<'a>(&'a [u8]);
 
 impl<'a> IoSlice<'a> {