diff --git a/types/src/data_types.rs b/types/src/data_types.rs index e1f1c727..4bc056b3 100644 --- a/types/src/data_types.rs +++ b/types/src/data_types.rs @@ -368,9 +368,9 @@ impl DecimalType { } else if precision <= 76 { Ok(DecimalType::Decimal256) } else { - return Err(TypesError::TypeParsingError(format!( + Err(TypesError::TypeParsingError(format!( "Invalid Decimal precision: {precision}" - ))); + ))) } } }