From ea2034e8062f8db6b5ae74ca8aeab4e2ee08479f Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 2 Jan 2020 21:21:28 +0100 Subject: Clean up clippy warnings --- askama_derive/src/generator.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'askama_derive/src/generator.rs') 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, -- cgit