Fix some clippy lints

Some might actually improve perf
This commit is contained in:
Lzu Tao authored and David Peter committed 2020-04-24 16:11:05 +02:00
1 parent a4828387c1
commit e37e9c1214
12 files changed
+30 -33

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ use bat::assets::HighlightingAssets;
#[test]
fn no_duplicate_extensions() {
const KNOWN_EXCEPTIONS: &[&'static str] = &[
const KNOWN_EXCEPTIONS: &[&str] = &[
// The '.h' extension currently appears in multiple syntaxes: C, C++, Objective C,
// Objective C++
"h",