Skip to content

Commit dbe5b4f

Browse files
committed
replace an invalid #[deprecated] attribute
1 parent 3b0d573 commit dbe5b4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

geo-types/src/geometry/geometry_collection.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ impl<T: CoordNum> GeometryCollection<T> {
108108
}
109109
}
110110

111-
#[deprecated(since = 0.7.5, note = "Use `GeometryCollection::from(vec![geom])` instead.")]
111+
/// **DO NOT USE!** Deprecated since 0.7.5.
112+
///
113+
/// Use `GeometryCollection::from(vec![geom])` instead.
112114
impl<T: CoordNum, IG: Into<Geometry<T>>> From<IG> for GeometryCollection<T> {
113115
fn from(x: IG) -> Self {
114116
Self(vec![x.into()])

0 commit comments

Comments
 (0)