generated from Astrial.org/template
fix: assign lifetime to const str
This commit is contained in:
parent
7241a1e8cd
commit
6a3f3cee9d
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue