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
..
2021-11-07 20:37:34 -06:00
2022-02-15 17:25:44 -06:00
2022-01-05 17:53:27 -06:00
2022-02-15 17:25:44 -06:00
2022-01-02 10:06:06 -06:00
2021-11-07 20:37:34 -06:00
2021-10-20 00:11:59 -05:00
2021-11-07 20:37:34 -06:00
2021-12-29 20:49:39 -06:00
2022-02-28 23:13:11 -06:00
2022-02-28 23:13:11 -06:00
2021-12-15 17:32:14 +11:00
2021-11-07 20:37:34 -06:00
2021-12-29 20:49:39 -06:00
2022-02-28 23:25:49 -06:00
2019-07-17 23:07:12 +09:00
2019-08-16 11:14:53 +09:00
2022-01-12 21:43:35 +01:00
2022-01-05 17:53:27 -06:00
2022-01-14 18:18:37 -06:00
2022-02-23 22:51:32 -06:00
2022-02-03 18:56:53 -06:00
2021-07-25 22:57:19 -05:00
2022-01-29 12:20:34 -06:00
2022-02-23 22:51:32 -06:00
2022-02-03 18:52:58 -06:00
2022-01-05 17:53:27 -06:00
2021-12-29 20:49:39 -06:00
2021-10-20 00:11:59 -05:00
2022-01-01 10:27:49 -06:00
2021-11-07 20:37:34 -06:00
2021-11-07 20:37:34 -06:00
2021-12-29 20:49:39 -06:00
2019-05-17 16:13:46 +02:00
2021-12-15 17:32:42 +11:00
2021-12-29 20:49:39 -06:00
2021-12-29 20:49:39 -06:00
2019-05-22 10:51:19 +09:00
2021-07-25 22:57:19 -05:00
2021-12-29 20:49:39 -06:00
2020-03-26 21:25:34 -05:00
2022-02-06 20:57:39 -06:00
2020-10-24 11:13:00 -05:00
2022-02-01 19:06:14 -06:00
2020-03-26 21:25:34 -05:00
2022-02-06 20:57:39 -06:00
2022-02-10 21:02:59 -06:00
2021-04-02 23:21:06 -05:00
2021-12-29 20:49:39 -06:00