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.
This commit is contained in:
Jubilee 2023-12-15 14:08:18 -08:00 committed by GitHub
commit 4b447b8bb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1437,7 +1437,7 @@ pub const fn is_loopback(&self) -> bool {
/// - 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))