Change chain_indent to indent_style

This commit is contained in:
topecongiro 2017-11-13 16:25:50 +09:00
parent 5e639cacdb
commit 0d721241f4
10 changed files with 10 additions and 10 deletions

View file

@ -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();

View file

@ -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();

View file

@ -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() {

View file

@ -1,4 +1,4 @@
// rustfmt-chain_indent: Block
// rustfmt-indent_style: Block
// Chain indent
fn main() {

View file

@ -1,4 +1,4 @@
// rustfmt-chain_indent: Visual
// rustfmt-indent_style: Visual
// Chain indent
fn main() {

View file

@ -1,4 +1,4 @@
// rustfmt-chain_indent: Block
// rustfmt-indent_style: Block
fn test() {
let x = my_long_function()

View file

@ -1,4 +1,4 @@
// rustfmt-chain_indent: Visual
// rustfmt-indent_style: Visual
fn test() {
let x = my_long_function().my_even_longer_function()

View file

@ -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() {

View file

@ -1,4 +1,4 @@
// rustfmt-chain_indent: Block
// rustfmt-indent_style: Block
// Chain indent
fn main() {

View file

@ -1,4 +1,4 @@
// rustfmt-chain_indent: Visual
// rustfmt-indent_style: Visual
// Chain indent
fn main() {