Reduce cargo clippy warnings

This commit is contained in:
Kenny Levinsen
2020-04-22 01:31:22 +02:00
parent 300711affe
commit 319bcdd355
17 changed files with 168 additions and 188 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ pub enum ConfigFmt {
Json,
}
pub const CONFIG_NAMES: &'static [&'static str] = &[
pub const CONFIG_NAMES: &[&str] = &[
#[cfg(feature = "yaml-cfg")]
"config.yaml",
#[cfg(feature = "json-cfg")]