rustdoc_to_markdown: Don't push blank space after newline (#12504)

This PR fixes a small issue in `rustdoc_to_markdown` where we could push
a blank space after a newline, leading to an unwanted leading space.

Release Notes:

- N/A
1d46a52c62Marshall Bowers committed on 5/30/2024, 8:38:01 PM· committed by GitHubparentfda975f
1 file changedLine totals unavailable