diff options
author | Homu <homu@barosl.com> | 2016-08-26 15:43:15 +0900 |
---|---|---|
committer | Homu <homu@barosl.com> | 2016-08-26 15:43:15 +0900 |
commit | ae85db73727b13b8fcafe335c33eee75a2082f5a (patch) | |
tree | 33e6250ca571ee12533ea45ac249638bfb913b31 /src/sys | |
parent | 6ffe71ef07a00331bd09fcd371204ac1c1b7e877 (diff) | |
parent | aa426634ad2a1c94df8367ce1a8a6ba7a1ac62b6 (diff) | |
download | nix-ae85db73727b13b8fcafe335c33eee75a2082f5a.zip |
Auto merge of #405 - murarth:clone-fdset, r=fiveop
Implement `Clone` for `FdSet` on Mac/iOS
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/select.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/select.rs b/src/sys/select.rs index 1b47d759..28b664aa 100644 --- a/src/sys/select.rs +++ b/src/sys/select.rs @@ -8,6 +8,7 @@ pub const FD_SETSIZE: RawFd = 1024; #[cfg(any(target_os = "macos", target_os = "ios"))] #[repr(C)] +#[derive(Clone)] pub struct FdSet { bits: [i32; FD_SETSIZE as usize / 32] } |