Skip to content

Commit 27bd731

Browse files
committed
fmt
1 parent c552ecd commit 27bd731

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

sqlx-core/src/mssql/types/uint.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,7 @@ impl Type<Mssql> for u64 {
8989
fn compatible(ty: &MssqlTypeInfo) -> bool {
9090
matches!(
9191
ty.0.ty,
92-
DataType::Numeric
93-
| DataType::NumericN
94-
| DataType::Decimal
95-
| DataType::DecimalN
92+
DataType::Numeric | DataType::NumericN | DataType::Decimal | DataType::DecimalN
9693
) && (ty.0.size == 0 || ty.0.size == 17)
9794
}
9895
}

0 commit comments

Comments
 (0)