diff --git a/Configurations.md b/Configurations.md index 6ba78e714e0..8e377cee21d 100644 --- a/Configurations.md +++ b/Configurations.md @@ -47,7 +47,7 @@ Where to put a binary operator when a binary expression goes multiline. - **Default value**: `"Front"` - **Possible values**: `"Front"`, `"Back"` -- **Stable**: No (tracking issue: [#3368](https://github.com/rust-lang/rustfmt/issues/3368)) +- **Stable**: Yes #### `"Front"` (default): diff --git a/rustfmt-core/rustfmt-lib/src/config.rs b/rustfmt-core/rustfmt-lib/src/config.rs index 6b1c73ee4c1..68bb79e282b 100644 --- a/rustfmt-core/rustfmt-lib/src/config.rs +++ b/rustfmt-core/rustfmt-lib/src/config.rs @@ -92,7 +92,7 @@ create_config! { space_around_attr_eq: bool, true, false, "Determines if '=' are wrapped in spaces in attributes."; spaces_around_ranges: bool, false, false, "Put spaces around the .. and ..= range operators"; - binop_separator: SeparatorPlace, SeparatorPlace::Front, false, + binop_separator: SeparatorPlace, SeparatorPlace::Front, true, "Where to put a binary operator when a binary expression goes multiline"; // Misc.