]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/sys/unsupported/net.rs
Remove socklen_t from platforms where it's no longer used
[rust.git] / library / std / src / sys / unsupported / net.rs
index dbb6ce22c22de18cd99c6df1483a4efeb2e835cc..a5204a0845378d6ae65633d16f4aadf50643a066 100644 (file)
@@ -1,4 +1,3 @@
-use crate::convert::TryFrom;
 use crate::fmt;
 use crate::io::{self, IoSlice, IoSliceMut};
 use crate::net::{Ipv4Addr, Ipv6Addr, Shutdown, SocketAddr};
@@ -364,6 +363,4 @@ pub struct sockaddr_in6 {
 
     #[derive(Copy, Clone)]
     pub struct sockaddr {}
-
-    pub type socklen_t = usize;
 }