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/ty/method_resolution.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/ra_hir/src/ty/method_resolution.rs') diff --git a/crates/ra_hir/src/ty/method_resolution.rs b/crates/ra_hir/src/ty/method_resolution.rs index e023ff25a..bc890fe79 100644 --- a/crates/ra_hir/src/ty/method_resolution.rs +++ b/crates/ra_hir/src/ty/method_resolution.rs @@ -7,17 +7,17 @@ use std::sync::Arc; use arrayvec::ArrayVec; use rustc_hash::FxHashMap; +use super::{autoderef, Canonical, TraitRef}; use crate::{ - HirDatabase, Module, Crate, Name, Function, Trait, - impl_block::{ImplId, ImplBlock, ImplItem}, - ty::{Ty, TypeCtor}, + generics::HasGenericParams, + impl_block::{ImplBlock, ImplId, ImplItem}, nameres::CrateModuleId, resolve::Resolver, traits::TraitItem, - generics::HasGenericParams, - ty::primitive::{UncertainIntTy, UncertainFloatTy} + ty::primitive::{UncertainFloatTy, UncertainIntTy}, + ty::{Ty, TypeCtor}, + Crate, Function, HirDatabase, Module, Name, Trait, }; -use super::{TraitRef, Canonical, autoderef}; /// This is used as a key for indexing impls. #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] -- cgit v1.2.3