We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent effd184 commit 565d452Copy full SHA for 565d452
src/path.rs
@@ -20,7 +20,7 @@ pub fn init_path(args: &CotpArgs) -> PathBuf {
20
.map(String::from)
21
.or(env::var("COTP_DB_PATH").ok())
22
.map(PathBuf::from)
23
- .unwrap_or_else(|| get_default_db_path())
+ .unwrap_or_else(get_default_db_path)
24
})
25
.to_owned()
26
}
0 commit comments