mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-08 09:38:26 +03:00
eeb062b8b1
syntax: Always pretty print a newline after doc comments Before this patch, code that had a doc comment as the first line, as in: ```rust /// Foo struct Foo; ``` Was pretty printed into: ```rust ///Foostruct Foo; ``` This makes sure that that there is always a trailing newline after a doc comment. Closes #31722