rust/tests/target/issue-5238
Yacin Tmimi 272fb42f06 Prevent wrapping markdown headers in doc comments
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.
2022-02-28 23:25:49 -06:00
..
markdown_header_wrap_comments_false.rs Prevent wrapping markdown headers in doc comments 2022-02-28 23:25:49 -06:00
markdown_header_wrap_comments_true.rs Prevent wrapping markdown headers in doc comments 2022-02-28 23:25:49 -06:00