Rollup merge of #75179 - lzutao:unsed-ipv4-frominner, r=alexcrichton

Remove unused FromInner impl for Ipv4Addr

The removed is a unused unstable implementation.
This commit is contained in:
Yuki Okushi 2020-08-07 09:35:16 +09:00 committed by GitHub
commit 1b61fd3ccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -961,11 +961,6 @@ fn as_inner(&self) -> &c::in_addr {
&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 {