From e5ae756203a036aafed472a3e83af6941f546887 Mon Sep 17 00:00:00 2001 From: Florian Hartwig Date: Fri, 3 Apr 2015 18:25:24 +0200 Subject: 'derive(Copy)' needs Clone now --- src/sched.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sched.rs') diff --git a/src/sched.rs b/src/sched.rs index 4b6c955f..c1746f2e 100644 --- a/src/sched.rs +++ b/src/sched.rs @@ -89,7 +89,7 @@ pub type CpuMask = c_ulong; // Structure representing the CPU set to apply #[repr(C)] -#[derive(Copy)] +#[derive(Clone, Copy)] pub struct CpuSet { cpu_mask: [CpuMask; cpuset_attribs::CPU_SETSIZE/cpuset_attribs::CPU_MASK_BITS] } -- cgit v1.2.3