Skip to content

Commit

Permalink
Rustfmt pass
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed May 15, 2018
1 parent 5ac5cf9 commit d5afeb9
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions geo-types/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use num_traits::{Float, Num, NumCast, Signed, ToPrimitive};
use std::iter::{FromIterator, Iterator};

#[cfg(feature = "spade")]
use spade::{BoundingRect, PointN, SpatialObject, TwoDimensional, SpadeNum};
use spade::{BoundingRect, PointN, SpadeNum, SpatialObject, TwoDimensional};

/// The type of an x or y value of a point/coordinate.
///
Expand Down Expand Up @@ -939,14 +939,12 @@ mod test {
Point::new(1., 0.),
Point::new(0., 0.),
]);
let interiors = vec![
LineString(vec![
Point::new(0.1, 0.1),
Point::new(0.9, 0.9),
Point::new(0.9, 0.1),
Point::new(0.1, 0.1),
]),
];
let interiors = vec![LineString(vec![
Point::new(0.1, 0.1),
Point::new(0.9, 0.9),
Point::new(0.9, 0.1),
Point::new(0.1, 0.1),
])];
let p = Polygon::new(exterior.clone(), interiors.clone());

assert_eq!(p.exterior, exterior);
Expand Down

0 comments on commit d5afeb9

Please sign in to comment.