Skip to content

Commit

Permalink
fix: ignore clippy false positive on template variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mfontanini committed Jan 19, 2025
1 parent 5ae691b commit a8e78d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/processing/footer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit a8e78d2

Please sign in to comment.