mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
tau/taud/mont_tasks: clippy chore
This commit is contained in:
@@ -180,10 +180,7 @@ impl MonthTasks {
|
||||
Err(_) => Self::create(date, dataset_path),
|
||||
},
|
||||
None => {
|
||||
let path_all = match Self::get_all(dataset_path) {
|
||||
Ok(t) => t,
|
||||
Err(_) => vec![],
|
||||
};
|
||||
let path_all = Self::get_all(dataset_path).unwrap_or_default();
|
||||
|
||||
let mut loaded_mt = Self::new(&[], &[]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user