From 1834bae5b86c54ed9dece26e82436919d59e6cb7 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 4 Jul 2019 23:05:17 +0300 Subject: allow rustfmt to reorder imports This wasn't a right decision in the first place, the feature flag was broken in the last rustfmt release, and syntax highlighting of imports is more important anyway --- crates/ra_ide_api/src/status.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'crates/ra_ide_api/src/status.rs') diff --git a/crates/ra_ide_api/src/status.rs b/crates/ra_ide_api/src/status.rs index ce25f4a87..1bcba0b8b 100644 --- a/crates/ra_ide_api/src/status.rs +++ b/crates/ra_ide_api/src/status.rs @@ -1,20 +1,20 @@ -use std::{ - fmt, - iter::FromIterator, - sync::Arc, -}; +use std::{fmt, iter::FromIterator, sync::Arc}; -use ra_syntax::{TreeArc, SyntaxNode, Parse, AstNode}; +use hir::MacroFile; use ra_db::{ + salsa::{ + debug::{DebugQueryTable, TableEntry}, + Database, + }, FileTextQuery, SourceRootId, - salsa::{Database, debug::{DebugQueryTable, TableEntry}}, }; -use ra_prof::{Bytes, memory_usage}; -use hir::MacroFile; +use ra_prof::{memory_usage, Bytes}; +use ra_syntax::{AstNode, Parse, SyntaxNode, TreeArc}; use crate::{ - FileId, db::RootDatabase, - symbol_index::{SymbolIndex, LibrarySymbolsQuery}, + db::RootDatabase, + symbol_index::{LibrarySymbolsQuery, SymbolIndex}, + FileId, }; pub(crate) fn syntax_tree_stats(db: &RootDatabase) -> SyntaxTreeStats { -- cgit v1.2.3