diff --git a/src/lib.rs b/src/lib.rs index 6bc7de6..2509411 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,9 +37,10 @@ //! use geo_types::Point; //! //! let point: Wkt = "POINT(10 20)".parse().unwrap(); -//! let g_point: geo_types::Point = (10., 20.).into(); -//! // We can attempt to directly convert the Wkt without having to access its items field //! let converted: Point = point.try_into().unwrap(); +//! +//! let g_point: geo_types::Point = (10., 20.).into(); +//! //! assert_eq!(g_point, converted); //! ``` //!