about summary refs log tree commit diff
path: root/src/expr.rs
diff options
context:
space:
mode:
authortopecongiro <seuchida@gmail.com>2017-06-11 23:26:49 +0900
committertopecongiro <seuchida@gmail.com>2017-06-11 23:26:49 +0900
commitf135641cc873c21ea8768a78534efc9ff3f4bb82 (patch)
treed89e912483296697fcf44df222d99f59240ba575 /src/expr.rs
parent9b195ae228be1c74b2ccdc83697219e35439b01f (diff)
Use multi line when type bounds does not fit in a single line
Diffstat (limited to 'src/expr.rs')
-rw-r--r--src/expr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.rs b/src/expr.rs
index aa5913e5f0f..04778b6ddca 100644
--- a/src/expr.rs
+++ b/src/expr.rs
@@ -2063,12 +2063,12 @@ fn rewrite_struct_lit<'a>(context: &RewriteContext,
     // FIXME if context.config.struct_lit_style() == Visual, but we run out
     // of space, we should fall back to BlockIndent.
 }
+
 pub fn struct_lit_field_separator(config: &Config) -> &str {
     colon_spaces(config.space_before_struct_lit_field_colon(),
                  config.space_after_struct_lit_field_colon())
 }
 
-
 fn rewrite_field(context: &RewriteContext, field: &ast::Field, shape: Shape) -> Option<String> {
     let name = &field.ident.node.to_string();
     if field.is_shorthand {