Remove where_indent option

This commit is contained in:
Nick Cameron 2017-05-01 16:05:38 +12:00
parent fba5af2a7d
commit 5d9a35050d
8 changed files with 0 additions and 9 deletions

View File

@ -360,8 +360,6 @@ create_config! {
// Should we at least try to put the where clause on the same line as the rest of the // Should we at least try to put the where clause on the same line as the rest of the
// function decl? // function decl?
where_density: Density, Density::CompressedIfEmpty, "Density of a where clause"; where_density: Density, Density::CompressedIfEmpty, "Density of a where clause";
// Visual will be treated like Tabbed
where_indent: IndentStyle, IndentStyle::Block, "Indentation of a where clause";
where_layout: ListTactic, ListTactic::Vertical, "Element layout inside a where clause"; where_layout: ListTactic, ListTactic::Vertical, "Element layout inside a where clause";
where_pred_indent: IndentStyle, IndentStyle::Visual, where_pred_indent: IndentStyle, IndentStyle::Visual,
"Indentation style of a where predicate"; "Indentation style of a where predicate";

View File

@ -8,7 +8,6 @@ fn_args_paren_newline = true
fn_args_density = "Tall" fn_args_density = "Tall"
fn_args_layout = "Visual" fn_args_layout = "Visual"
where_density = "Tall" where_density = "Tall"
where_indent = "Block"
where_layout = "Vertical" where_layout = "Vertical"
where_pred_indent = "Visual" where_pred_indent = "Visual"
generics_indent = "Visual" generics_indent = "Visual"

View File

@ -1,6 +1,5 @@
// rustfmt-fn_args_layout: Block // rustfmt-fn_args_layout: Block
// rustfmt-generics_indent: Block // rustfmt-generics_indent: Block
// rustfmt-where_indent: Block
// rustfmt-where_layout: Mixed // rustfmt-where_layout: Mixed
// Test different indents. // Test different indents.

View File

@ -1,5 +1,4 @@
// rustfmt-fn_args_layout: Block // rustfmt-fn_args_layout: Block
// rustfmt-where_indent: Block
// rustfmt-fn_brace_style: PreferSameLine // rustfmt-fn_brace_style: PreferSameLine
// Test different indents. // Test different indents.

View File

@ -1,5 +1,4 @@
// rustfmt-fn_args_layout: Block // rustfmt-fn_args_layout: Block
// rustfmt-where_indent: Block
// rustfmt-fn_brace_style: PreferSameLine // rustfmt-fn_brace_style: PreferSameLine
// Test different indents. // Test different indents.

View File

@ -1,6 +1,5 @@
// rustfmt-fn_args_layout: Block // rustfmt-fn_args_layout: Block
// rustfmt-generics_indent: Block // rustfmt-generics_indent: Block
// rustfmt-where_indent: Block
// rustfmt-where_layout: Mixed // rustfmt-where_layout: Mixed
// Test different indents. // Test different indents.

View File

@ -1,5 +1,4 @@
// rustfmt-fn_args_layout: Block // rustfmt-fn_args_layout: Block
// rustfmt-where_indent: Block
// rustfmt-fn_brace_style: PreferSameLine // rustfmt-fn_brace_style: PreferSameLine
// Test different indents. // Test different indents.

View File

@ -1,5 +1,4 @@
// rustfmt-fn_args_layout: Block // rustfmt-fn_args_layout: Block
// rustfmt-where_indent: Block
// rustfmt-fn_brace_style: PreferSameLine // rustfmt-fn_brace_style: PreferSameLine
// Test different indents. // Test different indents.