From: sinkuu Date: Mon, 19 Sep 2016 02:48:56 +0000 (+0900) Subject: Fix self test X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=114a3e287a2a5fd9426e9c2cfb6b7574a4b2faa4;p=rust.git Fix self test --- diff --git a/src/items.rs b/src/items.rs index b381ba8b7b2..8e6845c64b6 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 {