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_hir/src/impl_block.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'crates/ra_hir/src/impl_block.rs') diff --git a/crates/ra_hir/src/impl_block.rs b/crates/ra_hir/src/impl_block.rs index fb9daf1bf..ce134b27a 100644 --- a/crates/ra_hir/src/impl_block.rs +++ b/crates/ra_hir/src/impl_block.rs @@ -1,21 +1,21 @@ -use std::sync::Arc; use rustc_hash::FxHashMap; +use std::sync::Arc; -use ra_arena::{Arena, RawId, impl_arena_id, map::ArenaMap}; +use ra_arena::{impl_arena_id, map::ArenaMap, Arena, RawId}; use ra_syntax::{ + ast::{self, AstNode}, AstPtr, SourceFile, TreeArc, - ast::{self, AstNode} }; use crate::{ - Const, TypeAlias, Function, HirFileId, AstDatabase, HasSource, Source, - HirDatabase, DefDatabase, TraitRef, - type_ref::TypeRef, + code_model::{Module, ModuleSource}, + generics::HasGenericParams, ids::LocationCtx, resolve::Resolver, ty::Ty, - generics::HasGenericParams, - code_model::{Module, ModuleSource} + type_ref::TypeRef, + AstDatabase, Const, DefDatabase, Function, HasSource, HirDatabase, HirFileId, Source, TraitRef, + TypeAlias, }; #[derive(Debug, Default, PartialEq, Eq)] -- cgit v1.2.3