Skip to content

Commit

Permalink
add Copy and Clone impls
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov authored Jul 6, 2019
1 parent 1ca558d commit 46cee95
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/unix/redox/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ pub type speed_t = u32;
pub type suseconds_t = ::c_int;
pub type tcflag_t = u32;
pub type time_t = ::c_long;

#[cfg_attr(feature = "extra_traits", derive(Debug))]
pub enum timezone {}
impl ::Copy for timezone {}
impl ::Clone for timezone {
fn clone(&self) -> timezone { *self }
}

s! {
pub struct addrinfo {
Expand Down

0 comments on commit 46cee95

Please sign in to comment.