diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/configs/tab_spaces/2.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/configs/tab_spaces/2.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/configs/tab_spaces/2.rs b/src/tools/rustfmt/tests/target/configs/tab_spaces/2.rs new file mode 100644 index 000000000..85961706e --- /dev/null +++ b/src/tools/rustfmt/tests/target/configs/tab_spaces/2.rs @@ -0,0 +1,14 @@ +// rustfmt-tab_spaces: 2 +// rustfmt-max_width: 30 +// rustfmt-indent_style: Block +// Tab spaces + +fn lorem() { + let ipsum = dolor(); + let sit = vec![ + "amet", + "consectetur", + "adipiscing", + "elit.", + ]; +} |