Rename binop_sep to binop_separator

This commit is contained in:
topecongiro 2017-09-15 15:05:41 +09:00
parent 2d21c0c30b
commit d55b3492c0
2 changed files with 2 additions and 2 deletions

View file

@ -620,7 +620,7 @@ create_config! {
multiline_match_arm_forces_block: bool, false,
"Force multiline match arm bodies to be wrapped in a block";
merge_derives: bool, true, "Merge multiple `#[derive(...)]` into a single one";
binop_sep: SeparatorPlace, SeparatorPlace::Front,
binop_separator: SeparatorPlace, SeparatorPlace::Front,
"Where to put a binary operator when a binary expression goes multiline.";
}

View file

@ -101,7 +101,7 @@ pub fn format_expr(
"",
context,
shape,
context.config.binop_sep(),
context.config.binop_separator(),
)
}
ast::ExprKind::Unary(ref op, ref subexpr) => rewrite_unary_op(context, op, subexpr, shape),