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:
commit
1b61fd3ccf
@ -961,11 +961,6 @@ fn as_inner(&self) -> &c::in_addr {
|
|||||||
&self.inner
|
&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")]
|
#[stable(feature = "ip_u32", since = "1.1.0")]
|
||||||
impl From<Ipv4Addr> for u32 {
|
impl From<Ipv4Addr> for u32 {
|
||||||
|
Loading…
Reference in New Issue
Block a user