Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rustdoc whitespace parsing #7364

Merged
merged 1 commit into from
Jun 18, 2021
Merged

Fix rustdoc whitespace parsing #7364

merged 1 commit into from
Jun 18, 2021

Commits on Jun 18, 2021

  1. Fix rustdoc whitespace parsing

    Previously, whitespace on the second line of this fragment
    was incorrectly parsed as 2
    `PsiWhiteSpace` elements (" " and "\n").
    Now it is parsed as a single " \n" whitespace element.
    
    Replace `.` to a space
    
    ```
    ///.Extra space here:
    ///.
    ///
    fn foo() {}
    ```
    vlad20012 committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    2debe26 View commit details
    Browse the repository at this point in the history