Skip to content

Preserve whitespace at the end of doc comments#2101

Merged
bors[bot] merged 1 commit into
rust-lang:masterfrom
kjeremy:comments-preserve-trailing-ws
Oct 27, 2019
Merged

Preserve whitespace at the end of doc comments#2101
bors[bot] merged 1 commit into
rust-lang:masterfrom
kjeremy:comments-preserve-trailing-ws

Conversation

@kjeremy

@kjeremy kjeremy commented Oct 27, 2019

Copy link
Copy Markdown
Contributor

Whitespace can have special meaning in markdown. For instance ending a line with three spaces will render a new line.

Note that this behavior diverges from RLS.

Fixes #1997

Whitespace can have special meaning in markdown. For instance
ending a line with three spaces will render a new line.
Note that this behavior diverges from RLS.

Fixes rust-lang#1997
@matklad

matklad commented Oct 27, 2019

Copy link
Copy Markdown
Contributor

bors r+

Thanks!

bors Bot added a commit that referenced this pull request Oct 27, 2019
2101: Preserve whitespace at the end of doc comments r=matklad a=kjeremy

Whitespace can have special meaning in markdown. For instance ending a line with three spaces will render a new line.

Note that this behavior diverges from RLS.

Fixes #1997

Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
@bors

bors Bot commented Oct 27, 2019

Copy link
Copy Markdown
Contributor

Build succeeded

@bors bors Bot merged commit 1438f38 into rust-lang:master Oct 27, 2019
@jasonwilliams

Copy link
Copy Markdown

Thanks

@kjeremy kjeremy deleted the comments-preserve-trailing-ws branch February 25, 2020 14:58
pull Bot pushed a commit to asukaminato0721/rust-analyzer that referenced this pull request Jun 7, 2026
Revert changing number of passes depending on number of parameters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

VSCode doesn't show new line on comments like Cargo doc does

3 participants