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
1 changed files with 0 additions and 5 deletions
|
@ -961,11 +961,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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue