forked from Skynet/discord-bot
clippy: changes from nightly clippy
all of this is embeding teh var into teh format macro
This commit is contained in:
parent
9d409e3692
commit
d0726169ee
17 changed files with 47 additions and 47 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue