diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools/rustfmt/tests/source/configs/skip_children/foo/mod.rs | 3 | ||||
-rw-r--r-- | src/tools/rustfmt/tests/source/configs/skip_children/true.rs | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/source/configs/skip_children/foo/mod.rs b/src/tools/rustfmt/tests/source/configs/skip_children/foo/mod.rs new file mode 100644 index 000000000..d7ff6cdb8 --- /dev/null +++ b/src/tools/rustfmt/tests/source/configs/skip_children/foo/mod.rs @@ -0,0 +1,3 @@ +fn skip_formatting_this() { + println ! ( "Skip this" ) ; +} diff --git a/src/tools/rustfmt/tests/source/configs/skip_children/true.rs b/src/tools/rustfmt/tests/source/configs/skip_children/true.rs new file mode 100644 index 000000000..e51889dd4 --- /dev/null +++ b/src/tools/rustfmt/tests/source/configs/skip_children/true.rs @@ -0,0 +1,4 @@ +// rustfmt-skip_children: true + +mod foo ; +mod void; |