Open xxchan opened 3 months ago
e.g.,
use risingwave_batch::executor::{BoxedExecutor, JoinType}; use risingwave_batch::executor::{BoxedExecutor, JoinType};
After first fmt
use risingwave_batch::executor::{BoxedExecutor, BoxedExecutor, JoinType, JoinType};
After second fmt
use risingwave_batch::executor::{BoxedExecutor, JoinType, JoinType};
The behavior I want is that it can remove duplicates, like imports_granularity="Crate"
imports_granularity="Crate"
Confirming I can reproduce this when building from source using rustfmt 1.7.1-nightly (7cdb426c 2024-07-15). Linking the tracking issue for imports_granularity (https://github.com/rust-lang/rustfmt/issues/4991)
imports_granularity
e.g.,
After first fmt
After second fmt
The behavior I want is that it can remove duplicates, like
imports_granularity="Crate"