Skip to content

Commit 4da2908

Browse files
authored
Merge from rust-lang#4886
1 parent 8984438 commit 4da2908

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/config/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ create_config! {
140140
inline_attribute_width: usize, 0, false,
141141
"Write an item and its attribute on the same line \
142142
if their combined width is below a threshold";
143+
righthand_indentation_strategy: RightHandIndentationStrategy,
144+
RightHandIndentationStrategy::Heuristic, false,
145+
"Determines how the right-hand side of an assignment and pattern is indented.";
143146
format_generated_files: bool, true, false, "Format generated files";
144147

145148
// Options that can change the source code beyond whitespace/blocks (somewhat linty things)
@@ -611,6 +614,7 @@ blank_lines_lower_bound = 0
611614
edition = "2015"
612615
version = "One"
613616
inline_attribute_width = 0
617+
righthand_indentation_strategy = "SameLineAsLHS"
614618
format_generated_files = true
615619
merge_derives = true
616620
use_try_shorthand = false

0 commit comments

Comments
 (0)