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
visual
Valid code example (just from some crate documentation):
use binrw::{ binrw, // #[binrw] attribute BinRead, // trait for reading BinWrite, // trait for writing };
My rustfmt.toml:
rustfmt.toml
imports_indent = "Visual"
Version of rustfmt: rustfmt 1.8.0-nightly (4392847410 2024-10-21)
rustfmt
rustfmt 1.8.0-nightly (4392847410 2024-10-21)
Expected result of formatting example code above: (something like this, not sure)
use binrw::{binrw, // #[binrw] attribute BinRead, // trait for reading BinWrite, // trait for writing };
Actual result that breaks the code - closing curly-brace placed to the last comment:
use binrw::{binrw, // #[binrw] attribute BinRead, // trait for reading BinWrite // trait for writing};
The text was updated successfully, but these errors were encountered:
Thanks for the report. Confirming I can reproduce this with rustfmt 1.8.0-nightly (96cc01b 2024-10-23)
Sorry, something went wrong.
No branches or pull requests
Valid code example (just from some crate documentation):
My
rustfmt.toml
:Version of
rustfmt
:rustfmt 1.8.0-nightly (4392847410 2024-10-21)
Expected result of formatting example code above: (something like this, not sure)
Actual result that breaks the code - closing curly-brace placed to the last comment:
The text was updated successfully, but these errors were encountered: