From 114a3e287a2a5fd9426e9c2cfb6b7574a4b2faa4 Mon Sep 17 00:00:00 2001 From: sinkuu Date: Mon, 19 Sep 2016 11:48:56 +0900 Subject: [PATCH] Fix self test --- src/items.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/items.rs b/src/items.rs index b381ba8b7b28..8e6845c64b6e 100644 --- a/src/items.rs +++ b/src/items.rs @@ -1051,15 +1051,15 @@ pub fn rewrite_type_alias(context: &RewriteContext, fn type_annotation_spacing(config: &Config) -> (&str, &str) { (if config.space_before_type_annotation { - " " - } else { - "" - }, + " " + } else { + "" + }, if config.space_after_type_annotation_colon { - " " - } else { - "" - }) + " " + } else { + "" + }) } impl Rewrite for ast::StructField {