diff options
author | Bryant Mairs <bryantmairs@google.com> | 2018-01-14 09:58:24 -0800 |
---|---|---|
committer | Bryant Mairs <bryantmairs@google.com> | 2018-01-28 15:35:35 -0800 |
commit | 5db605ad599a56ed79969b929732fabf03374ae1 (patch) | |
tree | 24ad3fd11ec1c2be8849296174d5519ff3679394 /src/sys/statvfs.rs | |
parent | 04b0978c25d323c59d687e0ded1814b19ae7c6eb (diff) | |
download | nix-5db605ad599a56ed79969b929732fabf03374ae1.zip |
Implement Copy/Clone for all types missing it
Diffstat (limited to 'src/sys/statvfs.rs')
-rw-r--r-- | src/sys/statvfs.rs | 1 |
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 { |