-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Closed
Labels
O-windowsOperating system: WindowsOperating system: WindowsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.

Description
Image says it all really, running rustdoc on files with windows style line-endings inserts (or doesn't strip?) additional newline characters, screwing up alignment with the line numbers:
This only seems to affect regular comments, doc comments are fine.
Edit: since it's not really obvious from the image due to the nature of the bug, it should look like this:
// Test comment
pub fn test() {}
// Test comment
pub fn test2() {}
// Test comment
pub fn test3() {}
Metadata
Metadata
Assignees
Labels
O-windowsOperating system: WindowsOperating system: WindowsT-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.