Skip to content

Commit f48c3b5

Browse files
committed
more deprecations
1 parent 6557bca commit f48c3b5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tokio-postgres/tests/test/types/geo_types_07.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#[cfg(feature = "with-geo-types-0_7")]
2-
use geo_types_07::{Coordinate, LineString, Point, Rect};
2+
use geo_types_07::{Coord, LineString, Point, Rect};
33

44
use crate::types::test_type;
55

@@ -23,8 +23,8 @@ async fn test_box_params() {
2323
&[
2424
(
2525
Some(Rect::new(
26-
Coordinate { x: -3.2, y: 1.618 },
27-
Coordinate {
26+
Coord { x: -3.2, y: 1.618 },
27+
Coord {
2828
x: 160.0,
2929
y: 69701.5615,
3030
},
@@ -40,9 +40,9 @@ async fn test_box_params() {
4040
#[tokio::test]
4141
async fn test_path_params() {
4242
let points = vec![
43-
Coordinate { x: 0., y: 0. },
44-
Coordinate { x: -3.2, y: 1.618 },
45-
Coordinate {
43+
Coord { x: 0., y: 0. },
44+
Coord { x: -3.2, y: 1.618 },
45+
Coord {
4646
x: 160.0,
4747
y: 69701.5615,
4848
},

0 commit comments

Comments
 (0)