Merge pull request #1165 from sinkuu/fix_self_tests

Fix self test
This commit is contained in:
Nick Cameron 2016-09-19 15:17:47 +12:00 committed by GitHub
commit 8d606bbfc6

View File

@ -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 {