From dbce477ae0b385a7e4405d7c2a1a872844d94b47 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Fri, 19 Feb 2016 17:32:29 +0300 Subject: select: make FdSet Cloneable --- src/sys/select.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sys/select.rs') diff --git a/src/sys/select.rs b/src/sys/select.rs index 48746e72..1b47d759 100644 --- a/src/sys/select.rs +++ b/src/sys/select.rs @@ -17,6 +17,7 @@ const BITS: usize = 32; #[cfg(not(any(target_os = "macos", target_os = "ios")))] #[repr(C)] +#[derive(Clone)] pub struct FdSet { bits: [u64; FD_SETSIZE as usize / 64] } -- cgit v1.2.3