We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0be19e commit 082aed5Copy full SHA for 082aed5
sqlx-postgres/src/types/geometry/point.rs
@@ -77,7 +77,7 @@ impl FromStr for PgPoint {
77
.ok_or_else(|| format!("error decoding POINT: could not get x and y from {}", s))?;
78
79
let x = parse_float_from_str(x_str, "error decoding POINT: could not get x")?;
80
- let y = parse_float_from_str(y_str, "error decoding POINT: could not get x")?;
+ let y = parse_float_from_str(y_str, "error decoding POINT: could not get y")?;
81
82
Ok(PgPoint { x, y })
83
}
0 commit comments