We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e7defa commit 9d6bf66Copy full SHA for 9d6bf66
sqlx-postgres/src/types/geometry/path.rs
@@ -131,7 +131,7 @@ impl PgPath {
131
.into());
132
}
133
134
- if bytes.len() % BYTE_WIDTH * 2 != 0 {
+ if bytes.len() % (BYTE_WIDTH * 2) != 0 {
135
return Err(format!(
136
"data length not divisible by pairs of {BYTE_WIDTH}: {}",
137
bytes.len()
sqlx-postgres/src/types/geometry/polygon.rs
@@ -128,7 +128,7 @@ impl PgPolygon {
128
129
130
0 commit comments