summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLzu Tao <taolzu@gmail.com>2020-04-24 13:46:01 +0700
committerDavid Peter <sharkdp@users.noreply.github.com>2020-04-24 16:11:05 +0200
commite37e9c12141a40fc65c207a501dad24f11709ee0 (patch)
tree9fa53d195fb25f6b456ffe3de11a7c279ef8b234 /tests
parenta4828387c1a09e5185aa33b338b2d70dc2510f27 (diff)
Fix some clippy lints
Some might actually improve perf
Diffstat (limited to 'tests')
-rw-r--r--tests/no_duplicate_extensions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/no_duplicate_extensions.rs b/tests/no_duplicate_extensions.rs
index cdc96128..62cfa663 100644
--- a/tests/no_duplicate_extensions.rs
+++ b/tests/no_duplicate_extensions.rs
@@ -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",