From 837887b18d6de9f6631280b5a584e9aa7f2f8994 Mon Sep 17 00:00:00 2001 From: Michel Kuhlmann <kum@tkconsult.ch> Date: Tue, 29 Oct 2019 09:37:58 +0100 Subject: [PATCH] apply clippy suggestion --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index fe10247..8a92499 100644 --- a/src/main.rs +++ b/src/main.rs @@ -288,7 +288,7 @@ fn main() { .clone() .map(|exts| exts.iter().map(|s| format!(".{}", s)).collect()), try_file_404: try_file_404.map(PathBuf::from), - upload_size_limit: upload_size_limit, + upload_size_limit, }); if cors { chain.link_around(CorsMiddleware::with_allow_any()); -- GitLab