From d9f260e95efcb3ada02d1cd85d304438de8af294 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Wed, 5 Aug 2020 05:53:07 +0000 Subject: [PATCH] Remove unused FromInner impl for Ipv4Addr --- library/std/src/net/ip.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/library/std/src/net/ip.rs b/library/std/src/net/ip.rs index a64b43ca3ad45..2535b10b956f5 100644 --- a/library/std/src/net/ip.rs +++ b/library/std/src/net/ip.rs @@ -967,11 +967,6 @@ impl AsInner for Ipv4Addr { &self.inner } } -impl FromInner for Ipv4Addr { - fn from_inner(addr: c::in_addr) -> Ipv4Addr { - Ipv4Addr { inner: addr } - } -} #[stable(feature = "ip_u32", since = "1.1.0")] impl From for u32 {