about summary refs log tree commit diff
diff options
context:
space:
mode:
authorwcampbell <wcampbell1995@gmail.com>2020-10-13 20:11:29 -0400
committerwcampbell <wcampbell1995@gmail.com>2020-10-13 20:11:29 -0400
commitce04836327e6aebab6a834d89e7305d1b1be958b (patch)
tree925eec27f389095aaad9393f84fdc1c8b8ee2696
parent7da0e58da4f1a4a7f102eb5478dbd4e7fa7edbaf (diff)
downloadrust-ce04836327e6aebab6a834d89e7305d1b1be958b.tar.gz
rust-ce04836327e6aebab6a834d89e7305d1b1be958b.zip
fmt
Signed-off-by: wcampbell <wcampbell1995@gmail.com>
-rw-r--r--library/std/src/net/ip.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/net/ip.rs b/library/std/src/net/ip.rs
index eb054b08117..8089d7a8ba6 100644
--- a/library/std/src/net/ip.rs
+++ b/library/std/src/net/ip.rs
@@ -1259,7 +1259,7 @@ impl Ipv6Addr {
     /// [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`).