Signed-off-by: wcampbell <wcampbell1995@gmail.com>
This commit is contained in:
wcampbell 2020-10-13 20:11:29 -04:00
parent 7da0e58da4
commit ce04836327
No known key found for this signature in database
GPG Key ID: A040F4DAFC68FFE8

View File

@ -1259,7 +1259,7 @@ pub const fn is_unique_local(&self) -> bool {
/// [RFC 4291 errata 4406]: https://www.rfc-editor.org/errata/eid4406
#[rustc_const_unstable(feature = "const_ipv6", issue = "76205")]
pub const fn is_unicast_link_local_strict(&self) -> bool {
matches!(self.segments(), [0xfe80, 0, 0, 0, ..])
matches!(self.segments(), [0xfe80, 0, 0, 0, ..])
}
/// Returns [`true`] if the address is a unicast link-local address (`fe80::/10`).