diff options
| author | Jakub Stasiak <jakub@stasiak.at> | 2023-12-15 20:53:14 +0100 |
|---|---|---|
| committer | Jakub Stasiak <jakub@stasiak.at> | 2023-12-15 20:53:54 +0100 |
| commit | 47282799da75adc50a41a01402b4a1d4a056d69c (patch) | |
| tree | a6e8345f3b100a82b15acfce22fa9c79d169d775 | |
| parent | e6707df0de337976dce7577e68fc57adcd5e4842 (diff) | |
| download | rust-47282799da75adc50a41a01402b4a1d4a056d69c.tar.gz rust-47282799da75adc50a41a01402b4a1d4a056d69c.zip | |
Add 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.rs | 2 |
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)) |
