From 9e6dd81ad91e4d386aacd5a7353c8701d09bf7bc Mon Sep 17 00:00:00 2001 From: Matthias Krüger Date: Wed, 29 Nov 2017 14:52:53 +0100 Subject: clippy: string constants do not need to have static lifetime (const_static_lifetime). --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.rs') diff --git a/src/config.rs b/src/config.rs index 4cde0f0a..c48063d3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -731,7 +731,7 @@ impl<'a> de::Deserialize<'a> for RawBinding { } } - const FIELDS: &'static [&'static str] = &[ + const FIELDS: &[&str] = &[ "key", "mods", "mode", "action", "chars", "mouse", "command", ]; -- cgit v1.2.3-54-g00ecf