From f48c3b577f3e4515f2d0e88dcf026295194e4295 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Mon, 21 Nov 2022 15:26:37 -0800 Subject: [PATCH] more deprecations --- tokio-postgres/tests/test/types/geo_types_07.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tokio-postgres/tests/test/types/geo_types_07.rs b/tokio-postgres/tests/test/types/geo_types_07.rs index 85ff2553..43a13f45 100644 --- a/tokio-postgres/tests/test/types/geo_types_07.rs +++ b/tokio-postgres/tests/test/types/geo_types_07.rs @@ -1,5 +1,5 @@ #[cfg(feature = "with-geo-types-0_7")] -use geo_types_07::{Coordinate, LineString, Point, Rect}; +use geo_types_07::{Coord, LineString, Point, Rect}; use crate::types::test_type; @@ -23,8 +23,8 @@ async fn test_box_params() { &[ ( Some(Rect::new( - Coordinate { x: -3.2, y: 1.618 }, - Coordinate { + Coord { x: -3.2, y: 1.618 }, + Coord { x: 160.0, y: 69701.5615, }, @@ -40,9 +40,9 @@ async fn test_box_params() { #[tokio::test] async fn test_path_params() { let points = vec![ - Coordinate { x: 0., y: 0. }, - Coordinate { x: -3.2, y: 1.618 }, - Coordinate { + Coord { x: 0., y: 0. }, + Coord { x: -3.2, y: 1.618 }, + Coord { x: 160.0, y: 69701.5615, },