Skip to content

Commit 4629a87

Browse files
Centrilpka
authored andcommitted
Be forward compatible with rust-lang/rust#59928
1 parent 5cf434b commit 4629a87

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/ewkb.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -863,13 +863,13 @@ where
863863
&'a self,
864864
) -> postgis::GeometryType<
865865
'a,
866-
Self::Point,
867-
Self::LineString,
868-
Self::Polygon,
869-
Self::MultiPoint,
870-
Self::MultiLineString,
871-
Self::MultiPolygon,
872-
Self::GeometryCollection,
866+
P,
867+
LineStringT<P>,
868+
PolygonT<P>,
869+
MultiPointT<P>,
870+
MultiLineStringT<P>,
871+
MultiPolygonT<P>,
872+
GeometryCollectionT<P>,
873873
> {
874874
use ewkb::GeometryT as A;
875875
use types::GeometryType as B;

0 commit comments

Comments
 (0)