Rename binop_sep to binop_separator
This commit is contained in:
parent
2d21c0c30b
commit
d55b3492c0
2 changed files with 2 additions and 2 deletions
|
@ -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.";
|
||||
}
|
||||
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue