diff --git a/tests/target/issue_3937.rs b/tests/target/issue_3937.rs new file mode 100644 index 00000000000..80673108500 --- /dev/null +++ b/tests/target/issue_3937.rs @@ -0,0 +1,13 @@ +// rustfmt-format_code_in_doc_comments:true + +struct Foo { + // a: i32, + // + // b: i32, +} + +struct Foo { + a: i32, + // + // b: i32, +}