Remove unused struct

This commit is contained in:
r0cky 2024-02-05 08:07:55 +08:00
parent 268dbbbc4b
commit 8266657338
3 changed files with 0 additions and 9 deletions

View File

@ -542,7 +542,4 @@ pub struct sockaddr_in6 {
pub sin6_flowinfo: u32, pub sin6_flowinfo: u32,
pub sin6_scope_id: u32, pub sin6_scope_id: u32,
} }
#[derive(Copy, Clone)]
pub struct sockaddr {}
} }

View File

@ -364,9 +364,6 @@ pub struct sockaddr_in6 {
pub sin6_flowinfo: u32, pub sin6_flowinfo: u32,
pub sin6_scope_id: u32, pub sin6_scope_id: u32,
} }
#[derive(Copy, Clone)]
pub struct sockaddr {}
} }
pub type Socket = UdpSocket; pub type Socket = UdpSocket;

View File

@ -78,7 +78,4 @@ pub struct sockaddr_in6 {
pub sin6_flowinfo: u32, pub sin6_flowinfo: u32,
pub sin6_scope_id: u32, pub sin6_scope_id: u32,
} }
#[derive(Copy, Clone)]
pub struct sockaddr {}
} }