Skip to content

Commit

Permalink
Implement Clone for FdSet on Mac/iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
murarth committed Aug 25, 2016
1 parent 6ffe71e commit aa42663
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sys/select.rs
Expand Up @@ -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]
}
Expand Down

0 comments on commit aa42663

Please sign in to comment.