summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2016-07-14 00:40:17 +0300
committerSergey Bugaev <bugaevc@gmail.com>2016-07-14 00:40:17 +0300
commitcce6bce7fc85d8c44a101ae164a4604ab5adf6d4 (patch)
tree9118f92ae358e666641eb03c21c14d299c5e1875 /src
parent012c6623c9c50aca91b81e6d30800613f515f898 (diff)
downloadnix-cce6bce7fc85d8c44a101ae164a4604ab5adf6d4.zip
Switch Clone and Copy
Diffstat (limited to 'src')
-rw-r--r--src/sys/reboot.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/reboot.rs b/src/sys/reboot.rs
index 45f9ec98..0f9d5e88 100644
--- a/src/sys/reboot.rs
+++ b/src/sys/reboot.rs
@@ -3,7 +3,7 @@ use libc;
use void::Void;
use std::mem::drop;
-#[derive(Copy, Clone, Debug, Eq, PartialEq)]
+#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum RebootMode {
Halt,
kexec,