From 156fd31b3aaf458db19f837d45c0114227f1ec73 Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Tue, 7 Jun 2022 11:00:23 +0200 Subject: Fix lint --- src/renderer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/renderer.rs b/src/renderer.rs index 6e83108..9c8b5bf 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -217,12 +217,12 @@ fn wget_footer(title_path: &str, current_user: Option<&CurrentUser>) -> Markup { "".to_string() }; - return html! { + html! { div.downloadDirectory { p { "Download folder:" } div.cmd { (format!("wget -r -c -nH -np --cut-dirs={} -R \"index.html*\"{} \"http://{}/?raw=true\"", count, user_params, title_path)) } } - }; + } } /// Build the action of the upload form -- cgit v1.2.3