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() } }