diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/configs/comment_width/above.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/configs/comment_width/above.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/configs/comment_width/above.rs b/src/tools/rustfmt/tests/target/configs/comment_width/above.rs new file mode 100644 index 000000000..ddfecda65 --- /dev/null +++ b/src/tools/rustfmt/tests/target/configs/comment_width/above.rs @@ -0,0 +1,8 @@ +// rustfmt-comment_width: 40 +// rustfmt-wrap_comments: true +// Comment width + +fn main() { + // Lorem ipsum dolor sit amet, + // consectetur adipiscing elit. +} |