Skip to content

Commit

Permalink
Add docs.rs callout for quick_collection
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Jan 2, 2020
1 parent 82f718f commit 12c4f18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/conversion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ where
/// let mut collection: GeometryCollection<f64> = quick_collection(&geojson).unwrap();
/// ```
#[cfg(feature = "geo-types")]
#[cfg_attr(docsrs, doc(cfg(feature = "geo-types")))]
pub fn quick_collection<T>(gj: &GeoJson) -> Result<geo_types::GeometryCollection<T>, GJError>
where T: Float
{
Expand Down

0 comments on commit 12c4f18

Please sign in to comment.