aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive/src/generator.rs
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-01-02 21:21:28 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-01-02 22:58:13 +0100
commitea2034e8062f8db6b5ae74ca8aeab4e2ee08479f (patch)
tree207b103539bacd4147c1ee274d3a1aa4938b7853 /askama_derive/src/generator.rs
parent9085e1e3dd0ae9924433c6e5166c33e0f6d2a283 (diff)
downloadaskama-ea2034e8062f8db6b5ae74ca8aeab4e2ee08479f.tar.gz
askama-ea2034e8062f8db6b5ae74ca8aeab4e2ee08479f.tar.bz2
askama-ea2034e8062f8db6b5ae74ca8aeab4e2ee08479f.zip
Clean up clippy warnings
Diffstat (limited to '')
-rw-r--r--askama_derive/src/generator.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs
index 359de5a..81f6ac9 100644
--- a/askama_derive/src/generator.rs
+++ b/askama_derive/src/generator.rs
@@ -450,6 +450,7 @@ impl<'a> Generator<'a> {
flushed + median(&mut arm_sizes)
}
+ #[allow(clippy::too_many_arguments)]
fn write_match(
&mut self,
ctx: &'a Context,
@@ -531,6 +532,7 @@ impl<'a> Generator<'a> {
flushed + median(&mut arm_sizes)
}
+ #[allow(clippy::too_many_arguments)]
fn write_loop(
&mut self,
ctx: &'a Context,