Skip to content

Commit 13ea09b

Browse files
authored
Rollup merge of #120657 - mu001999:clean, r=Nilstrieb
Remove unused struct Detected by #118257
2 parents 540936c + 8266657 commit 13ea09b

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

library/std/src/sys/pal/sgx/net.rs

-3
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,4 @@ pub mod netc {
542542
pub sin6_flowinfo: u32,
543543
pub sin6_scope_id: u32,
544544
}
545-
546-
#[derive(Copy, Clone)]
547-
pub struct sockaddr {}
548545
}

library/std/src/sys/pal/teeos/net.rs

-3
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,6 @@ pub mod netc {
364364
pub sin6_flowinfo: u32,
365365
pub sin6_scope_id: u32,
366366
}
367-
368-
#[derive(Copy, Clone)]
369-
pub struct sockaddr {}
370367
}
371368

372369
pub type Socket = UdpSocket;

library/std/src/sys/pal/xous/net/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,4 @@ pub mod netc {
7878
pub sin6_flowinfo: u32,
7979
pub sin6_scope_id: u32,
8080
}
81-
82-
#[derive(Copy, Clone)]
83-
pub struct sockaddr {}
8481
}

0 commit comments

Comments
 (0)