Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Corey Farwell <coreyf@rwell.org>
  • Loading branch information
michaelkirk and frewsxcv committed Oct 21, 2020
1 parent ad7ff84 commit 94fdaa9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions geo/src/algorithm/dimensions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use crate::{
/// Geometries can have 0, 1, or two dimensions. Or, in the case of an [`empty`](#is_empty)
/// geometry, a special `Empty` dimensionality.
///
/// ## Examples
/// # Examples
///
/// ```
/// use geo_types::{Point, Rect, line_string};
Expand Down Expand Up @@ -236,7 +236,7 @@ impl<C: CoordinateType> HasDimensions for LineString<C> {
}
}

///```
/// ```
/// use geo_types::line_string;
/// use geo::algorithm::dimensions::{HasDimensions, Dimensions};
///
Expand Down
2 changes: 1 addition & 1 deletion geo/src/algorithm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub mod concave_hull;
pub mod contains;
/// Calculate the convex hull of a `Geometry`.
pub mod convex_hull;
/// Dimensionality of a geometry and it's boundary, based on OGC-SFA.
/// Dimensionality of a geometry and its boundary, based on OGC-SFA.
pub mod dimensions;
/// Calculate the minimum Euclidean distance between two `Geometries`.
pub mod euclidean_distance;
Expand Down

0 comments on commit 94fdaa9

Please sign in to comment.