summaryrefslogtreecommitdiff
path: root/src/sys/statvfs.rs
diff options
context:
space:
mode:
authorBryant Mairs <bryantmairs@google.com>2018-01-14 09:58:24 -0800
committerBryant Mairs <bryantmairs@google.com>2018-01-28 15:35:35 -0800
commit5db605ad599a56ed79969b929732fabf03374ae1 (patch)
tree24ad3fd11ec1c2be8849296174d5519ff3679394 /src/sys/statvfs.rs
parent04b0978c25d323c59d687e0ded1814b19ae7c6eb (diff)
downloadnix-5db605ad599a56ed79969b929732fabf03374ae1.zip
Implement Copy/Clone for all types missing it
Diffstat (limited to 'src/sys/statvfs.rs')
-rw-r--r--src/sys/statvfs.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/statvfs.rs b/src/sys/statvfs.rs
index e4b00b37..dc7327d9 100644
--- a/src/sys/statvfs.rs
+++ b/src/sys/statvfs.rs
@@ -57,6 +57,7 @@ libc_bitflags!(
/// For more information see the [`statvfs(3)` man pages](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_statvfs.h.html).
// FIXME: Replace with repr(transparent)
#[repr(C)]
+#[derive(Clone, Copy)]
pub struct Statvfs(libc::statvfs);
impl Statvfs {