*: 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
@@ -106,7 +106,7 @@ impl WebServer {
addr: SocketAddr,
) -> Result<Response<Body>, Infallible> {
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 {}) {} {}",