summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/configs/tab_spaces/2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/source/configs/tab_spaces/2.rs')
-rw-r--r--src/tools/rustfmt/tests/source/configs/tab_spaces/2.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/source/configs/tab_spaces/2.rs b/src/tools/rustfmt/tests/source/configs/tab_spaces/2.rs
new file mode 100644
index 000000000..5c2667bc2
--- /dev/null
+++ b/src/tools/rustfmt/tests/source/configs/tab_spaces/2.rs
@@ -0,0 +1,11 @@
+// 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."
+];
+}