diff options
| author | Lzu Tao <taolzu@gmail.com> | 2020-08-05 05:53:07 +0000 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2020-08-05 05:53:07 +0000 |
| commit | d9f260e95efcb3ada02d1cd85d304438de8af294 (patch) | |
| tree | 47829cf8a4091ba176056311d0f53261f4674925 | |
| parent | 07f1fdecfed85fe4be14b293eb913560a6cd60ba (diff) | |
| download | rust-d9f260e95efcb3ada02d1cd85d304438de8af294.tar.gz rust-d9f260e95efcb3ada02d1cd85d304438de8af294.zip | |
Remove unused FromInner impl for Ipv4Addr
| -rw-r--r-- | library/std/src/net/ip.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/library/std/src/net/ip.rs b/library/std/src/net/ip.rs index a64b43ca3ad..2535b10b956 100644 --- a/library/std/src/net/ip.rs +++ b/library/std/src/net/ip.rs @@ -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 { |
