From 2a3112ccd4cea0b87ac62a72f55628d2dca526f4 Mon Sep 17 00:00:00 2001 From: sslivkoff Date: Sun, 24 Nov 2024 12:25:29 +0000 Subject: [PATCH] fix clippy warning --- crates/freeze/src/types/columns.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/freeze/src/types/columns.rs b/crates/freeze/src/types/columns.rs index 5270616c..8d8baa61 100644 --- a/crates/freeze/src/types/columns.rs +++ b/crates/freeze/src/types/columns.rs @@ -52,10 +52,7 @@ pub trait ColumnData: Default + crate::Dataset { /// input arg aliases fn base_arg_aliases() -> HashMap { - match Self::arg_aliases() { - Some(x) => x, - None => HashMap::new(), - } + Self::arg_aliases().unwrap_or_default() } }