Skip to content

Commit d9f260e

Browse files
committed
Remove unused FromInner impl for Ipv4Addr
1 parent 07f1fde commit d9f260e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

library/std/src/net/ip.rs

-5
Original file line numberDiff line numberDiff line change
@@ -967,11 +967,6 @@ impl AsInner<c::in_addr> for Ipv4Addr {
967967
&self.inner
968968
}
969969
}
970-
impl FromInner<c::in_addr> for Ipv4Addr {
971-
fn from_inner(addr: c::in_addr) -> Ipv4Addr {
972-
Ipv4Addr { inner: addr }
973-
}
974-
}
975970

976971
#[stable(feature = "ip_u32", since = "1.1.0")]
977972
impl From<Ipv4Addr> for u32 {

0 commit comments

Comments
 (0)