Skip to content

Commit ea54065

Browse files
committed
Switch to comments for rustfmt config
1 parent 4565d41 commit ea54065

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

tests/config/issue-2794.toml

Lines changed: 0 additions & 3 deletions
This file was deleted.

tests/source/issue-2794.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// rustfmt-indent_style: Block
2+
// rustfmt-imports_indent: Block
3+
// rustfmt-imports_layout: Vertical
4+
15
use std::{
26
env, fs, io::{Read, Write},
37
};

tests/target/issue-2794.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// rustfmt-indent_style: Block
2+
// rustfmt-imports_indent: Block
3+
// rustfmt-imports_layout: Vertical
4+
15
use std::{
26
env,
37
fs,

0 commit comments

Comments
 (0)