Skip to content

Commit 62758fd

Browse files
committed
Add a test for #4028
1 parent 2127bdf commit 62758fd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Diff for: tests/target/skip/skip-with-trailing-comma.rs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#![rustfmt::skip]
2+
3+
fn myfunc1()
4+
{
5+
println!("hi"); // yes I want my comments here
6+
} // keep this comment here too
7+
8+
fn myfunc2() {
9+
println!("bye"); // i want it that way
10+
} // tell me why

0 commit comments

Comments
 (0)