aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.rs
diff options
context:
space:
mode:
authorDamian <damian@autistici.org>2019-12-20 19:52:18 +0000
committerDamian <damian@autistici.org>2020-03-02 06:14:40 +0000
commit79c24cda81c84c2c4fd5c24c7680f032395e33e9 (patch)
tree9d88d4dfb2af288d369b146b616fd31d703764dc /src/renderer.rs
parentAdded option to disable archives (diff)
downloadminiserve-79c24cda81c84c2c4fd5c24c7680f032395e33e9.tar.gz
miniserve-79c24cda81c84c2c4fd5c24c7680f032395e33e9.zip
Ignore clippy warning
Diffstat (limited to 'src/renderer.rs')
-rw-r--r--src/renderer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/renderer.rs b/src/renderer.rs
index 0db6f1c..c524aa0 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -50,7 +50,7 @@ pub fn page(
span#top { }
h1.title { "Index of " (serve_path) }
div.toolbar {
- @if download {
+ @if archives {
div.download {
@for compression_method in CompressionMethod::iter() {
(archive_button(compression_method, sort_method, sort_order, color_scheme, default_color_scheme))