Closed msrd0 closed 1 year ago
I wonder if the change would break existing crate and not look good on docs.rs if the documentation uses newlines or paragraph within their feature docs.
I made a quick try and it seems to work alright. So I guess we can make the change without breaking compatibility.
When I run
cargo expand
, this is the generated output from the macro:Unfortunately, this triggers some markdown renderers (including
pulldown-cmark
andgrip
) to view them as two separate lists with one item each, which means they are rendered with too much spacing between the two features. If you removed the empty line, they would be treated as one list with two items, and be rendered with less space, just like rustdoc.