Skip to content

Commit a344e66

Browse files
committed
Stabilize binop_separator.
Servo has used this since forever, and it'd be useful to be able to use rustfmt stable there so that we can use the same rustfmt version in both Firefox and Servo. Feel free to close this if there's any reason it shouldn't be done. Closes rust-lang#3368
1 parent 7194d52 commit a344e66

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Configurations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Where to put a binary operator when a binary expression goes multiline.
4747

4848
- **Default value**: `"Front"`
4949
- **Possible values**: `"Front"`, `"Back"`
50-
- **Stable**: No (tracking issue: [#3368](https://github.com/rust-lang/rustfmt/issues/3368))
50+
- **Stable**: Yes
5151

5252
#### `"Front"` (default):
5353

rustfmt-core/rustfmt-lib/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ create_config! {
9292
space_around_attr_eq: bool, true, false,
9393
"Determines if '=' are wrapped in spaces in attributes.";
9494
spaces_around_ranges: bool, false, false, "Put spaces around the .. and ..= range operators";
95-
binop_separator: SeparatorPlace, SeparatorPlace::Front, false,
95+
binop_separator: SeparatorPlace, SeparatorPlace::Front, true,
9696
"Where to put a binary operator when a binary expression goes multiline";
9797

9898
// Misc.

0 commit comments

Comments
 (0)