Fixes from clippy

This commit is contained in:
Brian Picciano 2023-06-13 21:36:12 +02:00
parent 01b47fb010
commit 42a033a50b
2 changed files with 3 additions and 5 deletions

View File

@ -156,9 +156,7 @@ async fn main() {
origin_store,
domain_config_store,
domain_checker,
https_params
.as_ref()
.and_then(|p| Some(p.domain_acme_manager.clone())),
https_params.as_ref().map(|p| p.domain_acme_manager.clone()),
);
wait_group.push({
@ -296,7 +294,7 @@ async fn main() {
// HTTPS server
wait_group.push({
let https_params = https_params.clone();
let https_params = https_params;
let http_domain = config.http_domain.clone();
let canceller = canceller.clone();
let service = service.clone();

View File

@ -316,7 +316,7 @@ where
domains.sort();
self.render_page("/domains.html", Response { domains: domains })
self.render_page("/domains.html", Response { domains })
}
}