-
Notifications
You must be signed in to change notification settings - Fork 909
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
wrap_comments = true
breaks markdown tables
#4210
Labels
1x-backport:pending
Fixed/resolved in source but not yet backported to a 1x branch and release
bug
Panic, non-idempotency, invalid code, etc.
only-with-option
requires a non-default option value to reproduce
Comments
ayazhafiz
added a commit
to ayazhafiz/rustfmt
that referenced
this issue
May 30, 2020
topecongiro
added a commit
that referenced
this issue
May 31, 2020
* Don't wrap comments that are part of a table Closes #4210 * fixup! Don't wrap comments that are part of a table
What is necessary to perform the backport here? If it's just cherry-picking the commits onto another branch I'm willing to do that if you let me know which branch. |
Nemo157
pushed a commit
to Nemo157/rustfmt
that referenced
this issue
Jul 28, 2022
calebcartwright
pushed a commit
that referenced
this issue
Jan 29, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
1x-backport:pending
Fixed/resolved in source but not yet backported to a 1x branch and release
bug
Panic, non-idempotency, invalid code, etc.
only-with-option
requires a non-default option value to reproduce
cargo fmt -- --config wrap_comments=true
turns this:Into this:
It's possible to work around this issue by adding
#[rustfmt::skip]
to the struct (or other documented item), but I think it's a bug anyway.The text was updated successfully, but these errors were encountered: