Skip to content

Commit

Permalink
Update src/vector/geometry.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Laurențiu Nicola <lnicola@users.noreply.github.com>
  • Loading branch information
metasim and lnicola committed Jan 10, 2023
1 parent 94198a5 commit bdf574e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vector/geometry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ impl Geometry {
/// ```rust, no_run
/// use gdal::vector::Geometry;
/// # fn main() -> gdal::errors::Result<()> {
/// let src = Geometry::from_wkt("POLYGON ((0 0,10 10,0 10,10 0,0 0))")?;
/// let src = Geometry::from_wkt("POLYGON ((0 0, 10 10, 0 10, 10 0, 0 0))")?;
/// let dst = src.make_valid(())?;
/// assert_eq!("MULTIPOLYGON (((10 0,0 0,5 5,10 0)),((10 10,5 5,0 10,10 10)))", dst.wkt()?);
/// # Ok(())
Expand Down

0 comments on commit bdf574e

Please sign in to comment.