aboutsummaryrefslogtreecommitdiffstats
path: root/src/renderer.rs
diff options
context:
space:
mode:
authorSven-Hendrik Haase <svenstaro@gmail.com>2019-05-02 23:04:07 +0000
committerGitHub <noreply@github.com>2019-05-02 23:04:07 +0000
commitc0ef2fbf569047185ea472702523d7c1b54c030a (patch)
tree478ff421f74e21d26f8e18ec8f030f84ce57a183 /src/renderer.rs
parentAdd note about empty arrays (diff)
parentMerge branch 'new-clippy-experiment' into new-clippy (diff)
downloadminiserve-c0ef2fbf569047185ea472702523d7c1b54c030a.tar.gz
miniserve-c0ef2fbf569047185ea472702523d7c1b54c030a.zip
Merge pull request #99 from KSXGitHub/new-clippy
A better Clippy integration
Diffstat (limited to 'src/renderer.rs')
-rw-r--r--src/renderer.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/renderer.rs b/src/renderer.rs
index b292e70..69224cf 100644
--- a/src/renderer.rs
+++ b/src/renderer.rs
@@ -9,6 +9,7 @@ use crate::listing::{Entry, SortingMethod, SortingOrder};
use crate::themes::ColorScheme;
/// Renders the file listing
+#[allow(clippy::too_many_arguments)]
pub fn page(
serve_path: &str,
entries: Vec<Entry>,