]> git.lizzy.rs Git - rust.git/commitdiff
fmt
authorwcampbell <wcampbell1995@gmail.com>
Wed, 14 Oct 2020 00:11:29 +0000 (20:11 -0400)
committerwcampbell <wcampbell1995@gmail.com>
Wed, 14 Oct 2020 00:11:29 +0000 (20:11 -0400)
Signed-off-by: wcampbell <wcampbell1995@gmail.com>
library/std/src/net/ip.rs

index eb054b081175db4a744958225f30c74f1e991c44..8089d7a8ba6f1c629ee1ee0fef2b39937b01806c 100644 (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`).