mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-23 23:46:42 +02:00
fix clippy warning
This commit is contained in:
parent
023e638335
commit
2345a57940
1 changed files with 1 additions and 5 deletions
|
@ -48,11 +48,7 @@ impl Settings {
|
|||
/// Get the default filename for the configuration, or None if that cannot
|
||||
/// be determined.
|
||||
fn default_filename() -> Option<PathBuf> {
|
||||
if let Some(dir) = dirs_next::config_dir() {
|
||||
Some(dir.join("taskchampion.toml"))
|
||||
} else {
|
||||
None
|
||||
}
|
||||
dirs_next::config_dir().map(|dir| dir.join("taskchampion.toml"))
|
||||
}
|
||||
|
||||
/// Update this settings object with the contents of the given TOML file. Top-level settings
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue