Skip to content

Commit

Permalink
Remove unused FromInner impl for Ipv4Addr
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Aug 5, 2020
1 parent 07f1fde commit d9f260e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions library/std/src/net/ip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d9f260e

Please sign in to comment.