From 36ece82ecd4263a973fa727a9fc1033313290ada Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 19 Aug 2025 19:44:06 +0200 Subject: [PATCH] Fix clippy error --- types/src/data_types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}" - ))); + ))) } } }