From a8e78d23046a8226a5929b9fcba2a3d18c44e4de Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Sat, 18 Jan 2025 16:55:50 -0800 Subject: [PATCH] fix: ignore clippy false positive on template variables --- src/processing/footer.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/processing/footer.rs b/src/processing/footer.rs index 9f341c95..08836a8e 100644 --- a/src/processing/footer.rs +++ b/src/processing/footer.rs @@ -34,6 +34,7 @@ impl FooterGenerator { colors: Colors, alignment: Alignment, ) -> RenderOperation { + #[allow(clippy::literal_string_with_formatting_args)] let contents = template .replace("{current_slide}", current_slide) .replace("{total_slides}", &context.total_slides.to_string())