mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Fix error message typo in PgPoint::from_str (#3811)
This commit is contained in:
parent
f0be19e640
commit
082aed5c2b
@ -77,7 +77,7 @@ impl FromStr for PgPoint {
|
||||
.ok_or_else(|| format!("error decoding POINT: could not get x and y from {}", s))?;
|
||||
|
||||
let x = parse_float_from_str(x_str, "error decoding POINT: could not get x")?;
|
||||
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")?;
|
||||
|
||||
Ok(PgPoint { x, y })
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user