clippy: changes from nightly clippy

all of this is embeding teh var into teh format macro
This commit is contained in:
silver 2025-07-21 00:50:20 +01:00
parent 9d409e3692
commit d0726169ee
Signed by untrusted user: silver
GPG key ID: 36F93D61BAD3FD7D
17 changed files with 47 additions and 47 deletions

View file

@ -179,7 +179,7 @@ impl Renderer {
}
fn set_color(&self, svg: &str, color: &String) -> String {
svg.replace("fill=\"currentColor\"", &format!("fill=\"#{}\"", color))
svg.replace("fill=\"currentColor\"", &format!("fill=\"#{color}\""))
}
fn get_svg_data(&self, fi: &Path) -> Result<String> {