Skip to content

Commit

Permalink
Auto merge of #405 - murarth:clone-fdset, r=fiveop
Browse files Browse the repository at this point in the history
Implement `Clone` for `FdSet` on Mac/iOS
  • Loading branch information
homu committed Aug 26, 2016
2 parents 6ffe71e + aa42663 commit ae85db7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sys/select.rs
Original file line number Diff line number Diff line change
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 ae85db7

Please sign in to comment.