diff --git a/src/args.rs b/src/args.rs index dbf4071..b4f97f1 100644 --- a/src/args.rs +++ b/src/args.rs @@ -35,7 +35,7 @@ pub struct Config { } impl Config { - const CONFIG_PATHS: [&str; 5] = [ + const CONFIG_PATHS: [&'static str; 5] = [ "diaryrs.toml", "diary.toml", "~/.config/diaryrs.toml",