From ea540651b72c4816f4f0b4fb9286ef1f96d846df Mon Sep 17 00:00:00 2001 From: Josh Chase Date: Tue, 19 Jun 2018 09:30:50 -0400 Subject: [PATCH] Switch to comments for rustfmt config --- tests/config/issue-2794.toml | 3 --- tests/source/issue-2794.rs | 4 ++++ tests/target/issue-2794.rs | 4 ++++ 3 files changed, 8 insertions(+), 3 deletions(-) delete mode 100644 tests/config/issue-2794.toml diff --git a/tests/config/issue-2794.toml b/tests/config/issue-2794.toml deleted file mode 100644 index f8a9fb51a79..00000000000 --- a/tests/config/issue-2794.toml +++ /dev/null @@ -1,3 +0,0 @@ -indent_style = "Block" -imports_indent = "Block" -imports_layout = "Vertical" diff --git a/tests/source/issue-2794.rs b/tests/source/issue-2794.rs index 051458b14d1..c3f9c0412a4 100644 --- a/tests/source/issue-2794.rs +++ b/tests/source/issue-2794.rs @@ -1,3 +1,7 @@ +// rustfmt-indent_style: Block +// rustfmt-imports_indent: Block +// rustfmt-imports_layout: Vertical + use std::{ env, fs, io::{Read, Write}, }; diff --git a/tests/target/issue-2794.rs b/tests/target/issue-2794.rs index a2c01247948..951c0af206d 100644 --- a/tests/target/issue-2794.rs +++ b/tests/target/issue-2794.rs @@ -1,3 +1,7 @@ +// rustfmt-indent_style: Block +// rustfmt-imports_indent: Block +// rustfmt-imports_layout: Vertical + use std::{ env, fs,