From c3a01f5353013b82ec3048969f48e1f229a88c48 Mon Sep 17 00:00:00 2001 From: seancarroll Date: Sat, 9 Jan 2021 22:44:40 -0600 Subject: cargo fmt --- src/attributes/rectangle.rs | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src/attributes/rectangle.rs') diff --git a/src/attributes/rectangle.rs b/src/attributes/rectangle.rs index 9b36ee2..acf9ae1 100644 --- a/src/attributes/rectangle.rs +++ b/src/attributes/rectangle.rs @@ -19,15 +19,18 @@ impl<'a> DotString<'a> for Rectangle { #[cfg(test)] mod test { - use crate::attributes::{Rectangle, Point}; + use crate::attributes::{Point, Rectangle}; use crate::DotString; #[test] fn dot_string() { - assert_eq!("0.0,0.0,1.0,1.0", Rectangle { - lower_left: Point::new_2d(0.0, 0.0), - upper_right: Point::new_2d(1.0, 1.0) - }.dot_string()); + assert_eq!( + "0.0,0.0,1.0,1.0", + Rectangle { + lower_left: Point::new_2d(0.0, 0.0), + upper_right: Point::new_2d(1.0, 1.0) + } + .dot_string() + ); } - -} \ No newline at end of file +} -- cgit v1.2.3