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
When a comment in a macro call contains \", it seems rustfmt inserts an unnecessary closing parenthesis:
\"
Input
fn main() { println!(""); println!("" /* " */); println!("" /* \" */); }
Output
fn main() { println!(""); println!("" /* " */)); println!("" /* \" */)); }
Expected output
Meta
rustfmt 1.4.30-nightly (acd9486 2020-12-20)
rustup
The text was updated successfully, but these errors were encountered:
topecongiro
Successfully merging a pull request may close this issue.
When a comment in a macro call contains
\"
, it seems rustfmt inserts an unnecessary closing parenthesis:Input
Output
Expected output
Meta
rustfmt 1.4.30-nightly (acd9486 2020-12-20)
rustup
The text was updated successfully, but these errors were encountered: