Specify static lifetime in CONFIG_FILENAME
This commit is contained in:
parent
3566df75e7
commit
44cf917ecf
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ impl Default for Config {
|
|||
}
|
||||
|
||||
impl Config {
|
||||
const CONFIG_FILENAME: &str = "ff2mpv-rust.json";
|
||||
const CONFIG_FILENAME: &'static str = "ff2mpv-rust.json";
|
||||
|
||||
pub fn build() -> Self {
|
||||
Config::parse_config_file().unwrap_or_default()
|
||||
|
|
Loading…
Reference in a new issue