Skip to content

Commit 1b61fd3

Browse files
authored
Rollup merge of #75179 - lzutao:unsed-ipv4-frominner, r=alexcrichton
Remove unused FromInner impl for Ipv4Addr The removed is a unused unstable implementation.
2 parents c9c7048 + d9f260e commit 1b61fd3

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
@@ -961,11 +961,6 @@ impl AsInner<c::in_addr> for Ipv4Addr {
961961
&self.inner
962962
}
963963
}
964-
impl FromInner<c::in_addr> for Ipv4Addr {
965-
fn from_inner(addr: c::in_addr) -> Ipv4Addr {
966-
Ipv4Addr { inner: addr }
967-
}
968-
}
969964

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

0 commit comments

Comments
 (0)