From 14b52d4be079ea482fb7db3361b822a9a04f0b62 Mon Sep 17 00:00:00 2001 From: RomainC Date: Tue, 12 Dec 2023 16:47:13 +0100 Subject: [PATCH] fix imports formating --- crates/taplo/src/formatter/mod.rs | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/crates/taplo/src/formatter/mod.rs b/crates/taplo/src/formatter/mod.rs index 03255b16f..1a403f90b 100644 --- a/crates/taplo/src/formatter/mod.rs +++ b/crates/taplo/src/formatter/mod.rs @@ -3,20 +3,18 @@ //! The formatting can be done on documents that might //! contain invalid syntax. In that case the invalid part is skipped. -use { - crate::{ - dom::{self, node::DomNode, FromSyntax, Keys, Node}, - syntax::{SyntaxElement, SyntaxKind::*, SyntaxNode, SyntaxToken}, - util::overlaps, - }, - once_cell::unsync::OnceCell, - rowan::{GreenNode, NodeOrToken, TextRange}, - std::{ - cmp, - iter::{repeat, FromIterator}, - ops::Range, - rc::Rc, - }, +use crate::{ + dom::{self, node::DomNode, FromSyntax, Keys, Node}, + syntax::{SyntaxElement, SyntaxKind::*, SyntaxNode, SyntaxToken}, + util::overlaps, +}; +use once_cell::unsync::OnceCell; +use rowan::{GreenNode, NodeOrToken, TextRange}; +use std::{ + cmp, + iter::{repeat, FromIterator}, + ops::Range, + rc::Rc, }; #[cfg(feature = "serde")]