Cleanup imports

This commit is contained in:
Aleksey Kladov 2019-11-26 18:06:12 +03:00
parent b60b26b8ab
commit 475367d08a
2 changed files with 7 additions and 6 deletions

View file

@ -19,14 +19,16 @@ use std::sync::Arc;
use std::{fmt, iter, mem};
use hir_def::{
generics::GenericParams, AdtId, ContainerId, DefWithBodyId, GenericDefId, HasModule, Lookup,
TraitId, TypeAliasId,
expr::ExprId, generics::GenericParams, type_ref::Mutability, AdtId, ContainerId, DefWithBodyId,
GenericDefId, HasModule, Lookup, TraitId, TypeAliasId,
};
use ra_db::{impl_intern_key, salsa};
use crate::{
db::HirDatabase, expr::ExprId, util::make_mut_slice, Adt, Crate, FloatTy, IntTy, Mutability,
Name, Uncertain,
db::HirDatabase,
ty::primitive::{FloatTy, IntTy, Uncertain},
util::make_mut_slice,
Adt, Crate, Name,
};
use display::{HirDisplay, HirFormatter};

View file

@ -29,10 +29,9 @@ use crate::{
ty::{
primitive::{FloatTy, IntTy},
utils::{all_super_traits, associated_type_by_name_including_super_traits},
Adt,
},
util::make_mut_slice,
Const, Enum, EnumVariant, Function, ImplBlock, ModuleDef, Path, Static, Struct, Trait,
Adt, Const, Enum, EnumVariant, Function, ImplBlock, ModuleDef, Path, Static, Struct, Trait,
TypeAlias, Union,
};