From 79c24cda81c84c2c4fd5c24c7680f032395e33e9 Mon Sep 17 00:00:00 2001 From: Damian Date: Fri, 20 Dec 2019 20:52:18 +0100 Subject: Ignore clippy warning --- src/listing.rs | 2 +- src/renderer.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/listing.rs b/src/listing.rs index 8ee6ead..256e062 100644 --- a/src/listing.rs +++ b/src/listing.rs @@ -127,7 +127,7 @@ pub fn file_handler(req: &HttpRequest) -> Result( dir: &fs::Directory, req: &HttpRequest, 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)) -- cgit v1.2.3