Skip to content

Commit

Permalink
Rollup merge of rust-lang#120657 - mu001999:clean, r=Nilstrieb
Browse files Browse the repository at this point in the history
Remove unused struct

Detected by rust-lang#118257
  • Loading branch information
matthiaskrgr authored Feb 5, 2024
2 parents c5a0939 + 8266657 commit 6b9a911
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions library/std/src/sys/pal/sgx/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,4 @@ pub mod netc {
pub sin6_flowinfo: u32,
pub sin6_scope_id: u32,
}

#[derive(Copy, Clone)]
pub struct sockaddr {}
}
3 changes: 0 additions & 3 deletions library/std/src/sys/pal/teeos/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,6 @@ pub mod netc {
pub sin6_flowinfo: u32,
pub sin6_scope_id: u32,
}

#[derive(Copy, Clone)]
pub struct sockaddr {}
}

pub type Socket = UdpSocket;
3 changes: 0 additions & 3 deletions library/std/src/sys/pal/xous/net/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,4 @@ pub mod netc {
pub sin6_flowinfo: u32,
pub sin6_scope_id: u32,
}

#[derive(Copy, Clone)]
pub struct sockaddr {}
}

0 comments on commit 6b9a911

Please sign in to comment.