We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks similar to #4028 but posting a new issue since that was apparently solved.
Given this file, test.rs:
test.rs
// leading comment #![rustfmt::skip] fn main() { println!("main"); // commented } // post comment
running rustfmt test.rs results in this output:
rustfmt test.rs
// leading comment #![rustfmt::skip] fn main() { println!("main"); // commented }
This is loss-of-information, especially considering we can't rely on git for roll-back (#3862).
git
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Looks similar to #4028 but posting a new issue since that was apparently solved.
Given this file,
test.rs
:running
rustfmt test.rs
results in this output:This is loss-of-information, especially considering we can't rely on
git
for roll-back (#3862).The text was updated successfully, but these errors were encountered: