You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The formatter removes the block comment completely.
I am not super familiar with this codebase, I'll try to look around and figure out what changes might be needed for this. But it would be great if something can help me out with this.
The text was updated successfully, but these errors were encountered:
rustfmt
removing block comments that are present in between field name and field type. (observed for a struct).System Details
rustc
: rustc 1.81.0 (eeb90cda1 2024-09-04)cargo
: cargo 1.81.0 (2dbb1af80 2024-08-20)rustfmt
: rustfmt 1.7.1-stable (eeb90cda 2024-09-04)Reproducible Example
Let's say I have the struct that looks something like this. Now when I run
cargo fmt
on this, the code is transformed into:The formatter removes the block comment completely.
I am not super familiar with this codebase, I'll try to look around and figure out what changes might be needed for this. But it would be great if something can help me out with this.
The text was updated successfully, but these errors were encountered: