Rollup merge of #66058 - mjptree:patch-2, r=kennytm

Correct deprecated `is_global` IPv6 documentation

This method does currently not return false for the `site_local` unicast address space. The documentation of the `is_unicast_global` method on lines 1352 - 1382 suggests that this is intentional as the site-local prefix must no longer be supported in new implementations, thus the documentation can safely be updated to reflect that information.
If not so,  either the `is_unicast_global` method should be updated to exclude the unicast site-local address space, or the `is_global` method itself.
This commit is contained in:
Yuki Okushi 2019-11-10 09:27:15 +09:00 committed by GitHub
commit f135e3312f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1130,7 +1130,7 @@ pub fn is_loopback(&self) -> bool {
/// The following return [`false`]:
///
/// - the loopback address
/// - link-local, site-local, and unique local unicast addresses
/// - link-local and unique local unicast addresses
/// - interface-, link-, realm-, admin- and site-local multicast addresses
///
/// [`true`]: ../../std/primitive.bool.html