272fb42f06
Fixes 5238 A markdown header is defined by a string that starts with `#`. Previously, rustfmt would wrap long markdown headers when `wrap_comments=true`. This lead to issues when rendering these headers in HTML using rustdoc. Now, rustfmt leaves markdown headers alone when wrapping comments. |
||
---|---|---|
.. | ||
markdown_header_wrap_comments_false.rs | ||
markdown_header_wrap_comments_true.rs |