surf
surf copied to clipboard
docs.rs: newlines in docstrings?
Not a critical thing, but an annoyance that I haven't see for other crates, not sure why it's happening here.
Example: https://docs.rs/surf/2.1.0/src/surf/client.rs.html - where do those newlines in docstrings appear from?

This breaks line numbering in source docs, as they end like this:

Doc comment lines are wrapped in a <span class="doccomment"> on docs.rs. Looks like the HTML contains a \r before the closing </span>, and \n between spans. Maybe an issue with crates published from Windows machines?
Huh. Yes, @goto-bus-stop is correct, this was last published from my Windows desktop.