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 -2
View File
@@ -30,8 +30,7 @@ fn no_duplicate_extensions() {
for extension in &syntax.file_extensions {
assert!(
KNOWN_EXCEPTIONS.contains(&extension.as_str()) || extensions.insert(extension),
"File extension / pattern \"{}\" appears twice in the syntax set",
extension
"File extension / pattern \"{extension}\" appears twice in the syntax set"
);
}
}