Skip to content

Commit 9802ea5

Browse files
committed
chore: fix clippy
1 parent 61c8159 commit 9802ea5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/src/data_types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,9 +368,9 @@ impl DecimalType {
368368
} else if precision <= 76 {
369369
Ok(DecimalType::Decimal256)
370370
} else {
371-
return Err(TypesError::TypeParsingError(format!(
371+
Err(TypesError::TypeParsingError(format!(
372372
"Invalid Decimal precision: {precision}"
373-
)));
373+
)))
374374
}
375375
}
376376
}

0 commit comments

Comments
 (0)