about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2023-12-15 14:08:18 -0800
committerGitHub <noreply@github.com>2023-12-15 14:08:18 -0800
commit4b447b8bb736e0132be5b1bf793cef157de19877 (patch)
treefc1f04c1b7f3ce90174b51afad8af2072c59a423
parent3d94fc9dfe24a065c323b1c7a3bdd1c2fdc9cf11 (diff)
parent47282799da75adc50a41a01402b4a1d4a056d69c (diff)
downloadrust-4b447b8bb736e0132be5b1bf793cef157de19877.tar.gz
rust-4b447b8bb736e0132be5b1bf793cef157de19877.zip
Rollup merge of #118998 - jstasiak:improve-doc, r=workingjubilee
Link to is_benchmark from the Ipv6Addr::is_global documentation

All other relevant is_* methods are mentioned in the list of addresses here, is_benchmarking has been the only one missing.
-rw-r--r--library/core/src/net/ip_addr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/net/ip_addr.rs b/library/core/src/net/ip_addr.rs
index dafc58d3a7d..8bf15c736c3 100644
--- a/library/core/src/net/ip_addr.rs
+++ b/library/core/src/net/ip_addr.rs
@@ -1437,7 +1437,7 @@ impl Ipv6Addr {
     /// - The [unspecified address] ([`is_unspecified`](Ipv6Addr::is_unspecified))
     /// - The [loopback address] ([`is_loopback`](Ipv6Addr::is_loopback))
     /// - IPv4-mapped addresses
-    /// - Addresses reserved for benchmarking
+    /// - Addresses reserved for benchmarking ([`is_benchmarking`](Ipv6Addr::is_benchmarking))
     /// - Addresses reserved for documentation ([`is_documentation`](Ipv6Addr::is_documentation))
     /// - Unique local addresses ([`is_unique_local`](Ipv6Addr::is_unique_local))
     /// - Unicast addresses with link-local scope ([`is_unicast_link_local`](Ipv6Addr::is_unicast_link_local))