diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 64abf68..54c73c1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,7 +25,7 @@ async fn log<B>(mut req: Request<B>, next: Next<B>) -> Response where return next.run(req).await }; - console::log(&info.ip(), req.method(), req.uri(), None, None).await; + console::log(info.ip().clone(), req.method().clone(), req.uri().clone(), None, None).await; return next.run(req).await } |