diff options
| author | Yacin Tmimi <yacintmimi@gmail.com> | 2022-02-25 11:31:09 -0500 |
|---|---|---|
| committer | Caleb Cartwright <calebcartwright@users.noreply.github.com> | 2022-02-28 23:25:49 -0600 |
| commit | 272fb42f06479afb62a9503f181540101f67982a (patch) | |
| tree | b84d06c21cc8a1ae3202a2455d28f3f22932b15d /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 12048e444f8a68b3c13e98b15c11a69de9f0b485 (diff) | |
| download | rust-272fb42f06479afb62a9503f181540101f67982a.tar.gz rust-272fb42f06479afb62a9503f181540101f67982a.zip | |
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.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions
