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
struct Scope { free: u32, // abracadabra long long very long very very long comment comment comment hello world }
Using master revision, 1d8491b (Jan 24 2023).
cat a.rs | cargo run --bin rustfmt -- --config format_code_in_doc_comments=true
Converts // comments to /* comments.
//
/*
struct Scope { free: u32, /* abracadabra long long very long very very long comment comment comment hello world */ }
However, short comments are preserved as // comments.
The text was updated successfully, but these errors were encountered:
Thanks, but this is a duplicate of #5533, and we've got PR #5536 ready to merge soon in order to fix it.
Sorry, something went wrong.
No branches or pull requests
Using master revision, 1d8491b (Jan 24 2023).
Converts
//
comments to/*
comments.However, short comments are preserved as
//
comments.The text was updated successfully, but these errors were encountered: