Skip to content

Commit

Permalink
Derive Clone for EpollEvent on android.
Browse files Browse the repository at this point in the history
  • Loading branch information
carllerche committed Jul 20, 2015
1 parent 9ac438b commit 5801318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sys/epoll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub enum EpollOp {
}

#[cfg(all(target_os = "android", not(target_arch = "x86_64")))]
#[derive(Copy)]
#[derive(Clone, Copy)]
#[repr(C)]
pub struct EpollEvent {
pub events: EpollEventKind,
Expand Down

0 comments on commit 5801318

Please sign in to comment.