From dbe5b4f1264fcf855e9c56096306e1bae65804aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Orell=20Valerian=20Liehr?= Date: Fri, 11 Nov 2022 14:23:33 +0100 Subject: [PATCH] replace an invalid `#[deprecated]` attribute --- geo-types/src/geometry/geometry_collection.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/geo-types/src/geometry/geometry_collection.rs b/geo-types/src/geometry/geometry_collection.rs index ebf931497..540f6ebee 100644 --- a/geo-types/src/geometry/geometry_collection.rs +++ b/geo-types/src/geometry/geometry_collection.rs @@ -108,7 +108,9 @@ impl GeometryCollection { } } -#[deprecated(since = 0.7.5, note = "Use `GeometryCollection::from(vec![geom])` instead.")] +/// **DO NOT USE!** Deprecated since 0.7.5. +/// +/// Use `GeometryCollection::from(vec![geom])` instead. impl>> From for GeometryCollection { fn from(x: IG) -> Self { Self(vec![x.into()])