diff options
Diffstat (limited to 'test/formatters/samplecode/rustfmt')
| -rw-r--r-- | test/formatters/samplecode/rustfmt/in.rs | 12 | ||||
| -rw-r--r-- | test/formatters/samplecode/rustfmt/out.rs | 9 |
2 files changed, 21 insertions, 0 deletions
diff --git a/test/formatters/samplecode/rustfmt/in.rs b/test/formatters/samplecode/rustfmt/in.rs new file mode 100644 index 0000000..e09c014 --- /dev/null +++ b/test/formatters/samplecode/rustfmt/in.rs @@ -0,0 +1,12 @@ +fn foo() { + println!("a"); +} + + + +fn bar() { + println!("b"); + + + println!("c"); +} diff --git a/test/formatters/samplecode/rustfmt/out.rs b/test/formatters/samplecode/rustfmt/out.rs new file mode 100644 index 0000000..28db64c --- /dev/null +++ b/test/formatters/samplecode/rustfmt/out.rs @@ -0,0 +1,9 @@ +fn foo() { + println!("a"); +} + +fn bar() { + println!("b"); + + println!("c"); +} |
