diff options
author | Damian <damian@autistici.org> | 2019-12-20 19:52:18 +0000 |
---|---|---|
committer | Damian <damian@autistici.org> | 2020-03-02 06:14:40 +0000 |
commit | 79c24cda81c84c2c4fd5c24c7680f032395e33e9 (patch) | |
tree | 9d88d4dfb2af288d369b146b616fd31d703764dc /src/renderer.rs | |
parent | Added option to disable archives (diff) | |
download | miniserve-79c24cda81c84c2c4fd5c24c7680f032395e33e9.tar.gz miniserve-79c24cda81c84c2c4fd5c24c7680f032395e33e9.zip |
Ignore clippy warning
Diffstat (limited to 'src/renderer.rs')
-rw-r--r-- | src/renderer.rs | 2 |
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)) |