Skip to content

Commit 12c4f18

Browse files
committed
Add docs.rs callout for quick_collection
1 parent 82f718f commit 12c4f18

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/conversion.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,7 @@ where
525525
/// let mut collection: GeometryCollection<f64> = quick_collection(&geojson).unwrap();
526526
/// ```
527527
#[cfg(feature = "geo-types")]
528+
#[cfg_attr(docsrs, doc(cfg(feature = "geo-types")))]
528529
pub fn quick_collection<T>(gj: &GeoJson) -> Result<geo_types::GeometryCollection<T>, GJError>
529530
where T: Float
530531
{

0 commit comments

Comments
 (0)