diff --git a/library/std/src/net/ip.rs b/library/std/src/net/ip.rs index a19a1f7df8a..159ab981b23 100644 --- a/library/std/src/net/ip.rs +++ b/library/std/src/net/ip.rs @@ -961,11 +961,6 @@ fn as_inner(&self) -> &c::in_addr { &self.inner } } -impl FromInner for Ipv4Addr { - fn from_inner(addr: c::in_addr) -> Ipv4Addr { - Ipv4Addr { inner: addr } - } -} #[stable(feature = "ip_u32", since = "1.1.0")] impl From for u32 {