mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Remove unused FromInner impl for Ipv4Addr
This commit is contained in:
parent
07f1fdecfe
commit
d9f260e95e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user