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
I have a file with
#[cfg_attr(target_vendor = "nintendo64", path = "graphics.rs")] #[cfg_attr(not(target_vendor = "nintendo64"), path = "graphics_emu.rs")] pub mod graphics;
So when i run cargo fmt the contents of the file graphics_emu.rs is written to the file graphics.rs.
I would expect them both to be formatted and kept in their separate files.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I have a file with
#[cfg_attr(target_vendor = "nintendo64", path = "graphics.rs")]
#[cfg_attr(not(target_vendor = "nintendo64"), path = "graphics_emu.rs")]
pub mod graphics;
So when i run cargo fmt the contents of the file graphics_emu.rs is written to the file graphics.rs.
I would expect them both to be formatted and kept in their separate files.
The text was updated successfully, but these errors were encountered: