about summary refs log tree commit diff
path: root/library/std/src/net/ip.rs
diff options
context:
space:
mode:
authorChristopher Hotchkiss <christopher.hotchkiss@gmail.com>2022-07-30 13:05:33 -0400
committerChristopher Hotchkiss <christopher.hotchkiss@gmail.com>2022-07-30 13:05:33 -0400
commitf6590887df24f91a883da511d0a24d17ac4283e6 (patch)
tree46dbfb0ee3ee6820f2e7581dcd998394dfacabfe /library/std/src/net/ip.rs
parent3365b0631dad649ad9155c69cf9b6428e7b5228f (diff)
downloadrust-f6590887df24f91a883da511d0a24d17ac4283e6.tar.gz
rust-f6590887df24f91a883da511d0a24d17ac4283e6.zip
Original branch seems to have missed excluding the benchmark range from the globally reachable change
Diffstat (limited to 'library/std/src/net/ip.rs')
-rw-r--r--library/std/src/net/ip.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/net/ip.rs b/library/std/src/net/ip.rs
index ebbb69e7065..3c795f976f8 100644
--- a/library/std/src/net/ip.rs
+++ b/library/std/src/net/ip.rs
@@ -1635,6 +1635,7 @@ impl Ipv6Addr {
             && !self.is_unique_local()
             && !self.is_unspecified()
             && !self.is_documentation()
+            && !self.is_benchmarking()
     }
 
     /// Returns the address's multicast scope if the address is multicast.