diff --git a/iroh-dns-server/src/config.rs b/iroh-dns-server/src/config.rs index a377f28780..40b3e6cf07 100644 --- a/iroh-dns-server/src/config.rs +++ b/iroh-dns-server/src/config.rs @@ -78,7 +78,10 @@ pub struct MainlineConfig { #[allow(clippy::derivable_impls)] impl Default for MainlineConfig { fn default() -> Self { - Self { enabled: false, bootstrap: vec![]} + Self { + enabled: false, + bootstrap: vec![], + } } } diff --git a/iroh-dns-server/src/lib.rs b/iroh-dns-server/src/lib.rs index 86639ee85e..6ffba3b02e 100644 --- a/iroh-dns-server/src/lib.rs +++ b/iroh-dns-server/src/lib.rs @@ -13,7 +13,10 @@ mod util; #[cfg(test)] mod tests { - use std::{net::{Ipv4Addr, Ipv6Addr, SocketAddr}, str::FromStr}; + use std::{ + net::{Ipv4Addr, Ipv6Addr, SocketAddr}, + str::FromStr, + }; use anyhow::Result; use hickory_resolver::{ @@ -190,7 +193,8 @@ mod tests { .collect::>(); // spawn our server with mainline support - let (server, nameserver, _http_url) = Server::spawn_for_tests_with_mainline(Some(bootstrap)).await?; + let (server, nameserver, _http_url) = + Server::spawn_for_tests_with_mainline(Some(bootstrap)).await?; let origin = "irohdns.example.";