aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.rs
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2022-06-07 09:00:23 +0000
committerSven-Hendrik Haase <svenstaro@gmail.com>2022-06-07 09:00:23 +0000
commit156fd31b3aaf458db19f837d45c0114227f1ec73 (patch)
tree8bd80ebc6c84c4ee333e5295f0427b17fc9123fb /src/renderer.rs
parentAdd forgotten attribution (diff)
downloadminiserve-156fd31b3aaf458db19f837d45c0114227f1ec73.tar.gz
miniserve-156fd31b3aaf458db19f837d45c0114227f1ec73.zip
Fix lint
Diffstat (limited to 'src/renderer.rs')
-rw-r--r--src/renderer.rs4
1 files changed, 2 insertions, 2 deletions
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