*: apply clippy recommendations.

This commit is contained in:
Jonathan Davies
2023-05-09 20:49:34 +01:00
parent b925f53dc3
commit c783194e8b
13 changed files with 28 additions and 39 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ impl<A: ApiHandler> ApiServer<A> {
let uri = req.uri().clone();
if let Ok(forwarded_for_ip_addr) =
forwarded_headers::handle_forwarded_for_headers(&req.headers())
forwarded_headers::handle_forwarded_for_headers(req.headers())
{
info!(
"{} (via {}) {} {}",