From 0d721241f4e5d3182a199b74554a5557341c1d5f Mon Sep 17 00:00:00 2001 From: topecongiro Date: Mon, 13 Nov 2017 16:25:50 +0900 Subject: [PATCH] Change chain_indent to indent_style --- tests/source/chains-indent-tabbed.rs | 2 +- tests/source/chains-indent-visual.rs | 2 +- tests/source/chains-visual.rs | 2 +- tests/source/configs-chain_indent-block.rs | 2 +- tests/source/configs-chain_indent-visual.rs | 2 +- tests/target/chains-indent-tabbed.rs | 2 +- tests/target/chains-indent-visual.rs | 2 +- tests/target/chains-visual.rs | 2 +- tests/target/configs-chain_indent-block.rs | 2 +- tests/target/configs-chain_indent-visual.rs | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/source/chains-indent-tabbed.rs b/tests/source/chains-indent-tabbed.rs index 7a5afdfc9ef..6a9a40cb98f 100644 --- a/tests/source/chains-indent-tabbed.rs +++ b/tests/source/chains-indent-tabbed.rs @@ -1,4 +1,4 @@ -// rustfmt-chain_indent: Block +// rustfmt-indent_style: Block fn test() { let x = my_long_function().my_even_longer_function().my_nested_function().some_random_name().another_function().do_it(); diff --git a/tests/source/chains-indent-visual.rs b/tests/source/chains-indent-visual.rs index 7e7f0558ffe..8fdd3c4cabf 100644 --- a/tests/source/chains-indent-visual.rs +++ b/tests/source/chains-indent-visual.rs @@ -1,4 +1,4 @@ -// rustfmt-chain_indent: Visual +// rustfmt-indent_style: Visual fn test() { let x = my_long_function().my_even_longer_function().my_nested_function().some_random_name().another_function().do_it(); diff --git a/tests/source/chains-visual.rs b/tests/source/chains-visual.rs index 198691d82b5..99dfa921a71 100644 --- a/tests/source/chains-visual.rs +++ b/tests/source/chains-visual.rs @@ -1,6 +1,6 @@ // rustfmt-normalize_comments: true // rustfmt-single_line_if_else_max_width: 0 -// rustfmt-chain_indent: Visual +// rustfmt-indent_style: Visual // Test chain formatting. fn main() { diff --git a/tests/source/configs-chain_indent-block.rs b/tests/source/configs-chain_indent-block.rs index d77709422b2..41d91469114 100644 --- a/tests/source/configs-chain_indent-block.rs +++ b/tests/source/configs-chain_indent-block.rs @@ -1,4 +1,4 @@ -// rustfmt-chain_indent: Block +// rustfmt-indent_style: Block // Chain indent fn main() { diff --git a/tests/source/configs-chain_indent-visual.rs b/tests/source/configs-chain_indent-visual.rs index 67714d32045..b7494875398 100644 --- a/tests/source/configs-chain_indent-visual.rs +++ b/tests/source/configs-chain_indent-visual.rs @@ -1,4 +1,4 @@ -// rustfmt-chain_indent: Visual +// rustfmt-indent_style: Visual // Chain indent fn main() { diff --git a/tests/target/chains-indent-tabbed.rs b/tests/target/chains-indent-tabbed.rs index 8222b1c6ac7..ea6b5764e44 100644 --- a/tests/target/chains-indent-tabbed.rs +++ b/tests/target/chains-indent-tabbed.rs @@ -1,4 +1,4 @@ -// rustfmt-chain_indent: Block +// rustfmt-indent_style: Block fn test() { let x = my_long_function() diff --git a/tests/target/chains-indent-visual.rs b/tests/target/chains-indent-visual.rs index 66ef44fcd4a..23814e3dbe1 100644 --- a/tests/target/chains-indent-visual.rs +++ b/tests/target/chains-indent-visual.rs @@ -1,4 +1,4 @@ -// rustfmt-chain_indent: Visual +// rustfmt-indent_style: Visual fn test() { let x = my_long_function().my_even_longer_function() diff --git a/tests/target/chains-visual.rs b/tests/target/chains-visual.rs index c0fd18b44de..abba2853a6b 100644 --- a/tests/target/chains-visual.rs +++ b/tests/target/chains-visual.rs @@ -1,6 +1,6 @@ // rustfmt-normalize_comments: true // rustfmt-single_line_if_else_max_width: 0 -// rustfmt-chain_indent: Visual +// rustfmt-indent_style: Visual // Test chain formatting. fn main() { diff --git a/tests/target/configs-chain_indent-block.rs b/tests/target/configs-chain_indent-block.rs index b172e293b72..23340a4aba2 100644 --- a/tests/target/configs-chain_indent-block.rs +++ b/tests/target/configs-chain_indent-block.rs @@ -1,4 +1,4 @@ -// rustfmt-chain_indent: Block +// rustfmt-indent_style: Block // Chain indent fn main() { diff --git a/tests/target/configs-chain_indent-visual.rs b/tests/target/configs-chain_indent-visual.rs index ef7dac93f7f..569f3d8b81d 100644 --- a/tests/target/configs-chain_indent-visual.rs +++ b/tests/target/configs-chain_indent-visual.rs @@ -1,4 +1,4 @@ -// rustfmt-chain_indent: Visual +// rustfmt-indent_style: Visual // Chain indent fn main() {