mirror of
https://github.com/sharkdp/bat
synced 2026-08-11 20:11:43 +00:00
Inline format! args wherever possible
This commit is contained in:
@@ -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"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user