Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Jul 25, 2019
1 parent 6e1cba3 commit bf77d87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geo-types/src/rect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ impl<T: CoordinateType> Rect<T> {
/// Coordinate { x: 10., y: 20. },
/// );
///
/// assert_eq!(rect.min, Coordinate { x: 0., y: 0. });
/// assert_eq!(rect.max, Coordinate { x: 10., y: 20. });
/// assert_eq!(rect.min(), Coordinate { x: 0., y: 0. });
/// assert_eq!(rect.max(), Coordinate { x: 10., y: 20. });
/// ```
pub fn new<C>(min: C, max: C) -> Rect<T>
where
Expand Down

0 comments on commit bf77d87

Please sign in to comment.