From 7e07687b5ec14bd788b8d2dd3f0a7ead83842fd4 Mon Sep 17 00:00:00 2001 From: Tyler Murphy Date: Sat, 28 Jan 2023 14:22:29 -0500 Subject: clippy my beloved --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index ebce57e..9ccc45b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,9 +28,9 @@ async fn log(mut req: Request, next: Next) -> Response where return next.run(req).await }; - console::log(info.ip().clone(), req.method().clone(), req.uri().clone(), None, None).await; + console::log(info.ip(), req.method().clone(), req.uri().clone(), None, None).await; - return next.run(req).await + next.run(req).await } async fn not_found() -> Response { -- cgit v1.2.3-freya