aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2017-11-29 14:52:53 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2017-12-03 12:50:40 -0800
commit9e6dd81ad91e4d386aacd5a7353c8701d09bf7bc (patch)
treead45b535d30412ee08218df9904b511099e8fb49 /src/config.rs
parentb2c7fa7ee95e6414748b947fb5a9a1440be23476 (diff)
downloadalacritty-9e6dd81ad91e4d386aacd5a7353c8701d09bf7bc.tar.gz
alacritty-9e6dd81ad91e4d386aacd5a7353c8701d09bf7bc.zip
clippy: string constants do not need to have static lifetime (const_static_lifetime).
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
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",
];