clippy: string constants do not need to have static lifetime (const_static_lifetime).
This commit is contained in:
parent
b2c7fa7ee9
commit
9e6dd81ad9
|
@ -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 {}])",
|
||||
|
|
|
@ -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",
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue