rustfmt
rustfmt copied to clipboard
Whitespaces in path to macro inside derive block
"cargo fmt" command does not remove white spaces in derive block. For example i expected this
#[derive(serde :: Serialize)]
enum Something {
Variant
}
to become this
#[derive(serde::Serialize)]
enum Something {
Variant
}
cannot find anything similar in https://rust-lang.github.io/rustfmt/?version=master&search= tried to find by words "space" or "derive" (default config)
@kuqmua thanks for the report. What version of rustfmt were you using? You can find this out by running rustfmt --version.
@ytmimi
rustfmt 1.8.0-nightly (6c6d210089 2024-09-22)