Inline format! args wherever possible

This commit is contained in:
Lena authored and Martin Nordholts committed 2024-02-25 00:38:11 +01:00
1 parent 487bed2d95
commit 4c85483486
17 files changed
+35 -40

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ impl FromStr for StyleComponent {
"full" => Ok(StyleComponent::Full),
"default" => Ok(StyleComponent::Default),
"plain" => Ok(StyleComponent::Plain),
_ => Err(format!("Unknown style '{}'", s).into()),
_ => Err(format!("Unknown style '{s}'").into()),
}
}
}