From a4fdc3cec18bc067b580c98a12a1be64da169d0c Mon Sep 17 00:00:00 2001 From: skoupidi Date: Sat, 29 Jun 2024 16:51:03 +0300 Subject: [PATCH] tau/taud/mont_tasks: clippy chore --- bin/tau/taud/src/month_tasks.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/tau/taud/src/month_tasks.rs b/bin/tau/taud/src/month_tasks.rs index 96467e0e7..f4631c635 100644 --- a/bin/tau/taud/src/month_tasks.rs +++ b/bin/tau/taud/src/month_tasks.rs @@ -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(&[], &[]);