From 31b90ccc657a5468de6bdffea8d309f502cd0d07 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Thu, 21 Jun 2018 12:19:54 +0200 Subject: Fix formatting with cargo fmt --- testing/tests/matches.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testing/tests/matches.rs') diff --git a/testing/tests/matches.rs b/testing/tests/matches.rs index 9fae70c..9ea1d72 100644 --- a/testing/tests/matches.rs +++ b/testing/tests/matches.rs @@ -15,7 +15,6 @@ struct MatchOptRefTemplate<'a> { item: &'a Option<&'a str>, } - #[test] fn test_match_option() { let s = MatchOptTemplate { item: Some("foo") }; @@ -79,7 +78,9 @@ struct MatchCustomEnumTemplate { #[test] fn test_match_custom_enum() { - let s = MatchCustomEnumTemplate { color: Color::Rgb(160, 0, 255) }; + let s = MatchCustomEnumTemplate { + color: Color::Rgb(160, 0, 255), + }; assert_eq!(s.render().unwrap(), "\n\nColorful: #A000FF\n"); } -- cgit