diff --git a/crates/fmt/src/formatter.rs b/crates/fmt/src/formatter.rs index 759f6e9a3273..630f638f9c0a 100644 --- a/crates/fmt/src/formatter.rs +++ b/crates/fmt/src/formatter.rs @@ -1667,10 +1667,6 @@ impl<'a, W: Write> Formatter<'a, W> { } } - if group.len() == 1 { - continue; - } - import_directives.sort_by_cached_key(|item| match item { SourceUnitPart::ImportDirective(import) => match import { Import::Plain(path, _) => path.to_string(),