aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cli.rs2
-rw-r--r--src/config.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cli.rs b/src/cli.rs
index f1b27d26..f6f76831 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -19,7 +19,7 @@ use config::{Dimensions, Shell};
use std::path::{Path, PathBuf};
use std::borrow::Cow;
-const DEFAULT_TITLE: &'static str = "Alacritty";
+const DEFAULT_TITLE: &str = "Alacritty";
fn crate_long_version() -> String {
format!("{} (git commit {}) [{} build using {}])",
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",
];