We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46bb49a commit 6b13950Copy full SHA for 6b13950
library/core/src/net/ip_addr.rs
@@ -2171,29 +2171,6 @@ impl Not for &'_ Ipv6Addr {
2171
}
2172
2173
2174
-#[stable(feature = "ip_bitops", since = "CURRENT_RUSTC_VERSION")]
2175
-impl Not for IpAddr {
2176
- type Output = IpAddr;
2177
-
2178
- #[inline]
2179
- fn not(self) -> IpAddr {
2180
- match self {
2181
- IpAddr::V4(v4) => IpAddr::V4(!v4),
2182
- IpAddr::V6(v6) => IpAddr::V6(!v6),
2183
- }
2184
2185
-}
2186
2187
2188
-impl Not for &'_ IpAddr {
2189
2190
2191
2192
2193
- !*self
2194
2195
2196
2197
macro_rules! bitop_impls {
2198
($(
2199
$(#[$attr:meta])*
0 commit comments