Remove unused FromInner impl for Ipv4Addr

This commit is contained in:
Lzu Tao 2020-08-05 05:53:07 +00:00
parent 07f1fdecfe
commit d9f260e95e

View File

@ -967,11 +967,6 @@ impl AsInner<c::in_addr> for Ipv4Addr {
&self.inner
}
}
impl FromInner<c::in_addr> for Ipv4Addr {
fn from_inner(addr: c::in_addr) -> Ipv4Addr {
Ipv4Addr { inner: addr }
}
}
#[stable(feature = "ip_u32", since = "1.1.0")]
impl From<Ipv4Addr> for u32 {