Skip to content

Commit 475367d

Browse files
committed
Cleanup imports
1 parent b60b26b commit 475367d

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

crates/ra_hir/src/ty.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@ use std::sync::Arc;
1919
use std::{fmt, iter, mem};
2020

2121
use hir_def::{
22-
generics::GenericParams, AdtId, ContainerId, DefWithBodyId, GenericDefId, HasModule, Lookup,
23-
TraitId, TypeAliasId,
22+
expr::ExprId, generics::GenericParams, type_ref::Mutability, AdtId, ContainerId, DefWithBodyId,
23+
GenericDefId, HasModule, Lookup, TraitId, TypeAliasId,
2424
};
2525
use ra_db::{impl_intern_key, salsa};
2626

2727
use crate::{
28-
db::HirDatabase, expr::ExprId, util::make_mut_slice, Adt, Crate, FloatTy, IntTy, Mutability,
29-
Name, Uncertain,
28+
db::HirDatabase,
29+
ty::primitive::{FloatTy, IntTy, Uncertain},
30+
util::make_mut_slice,
31+
Adt, Crate, Name,
3032
};
3133
use display::{HirDisplay, HirFormatter};
3234

crates/ra_hir/src/ty/lower.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ use crate::{
2929
ty::{
3030
primitive::{FloatTy, IntTy},
3131
utils::{all_super_traits, associated_type_by_name_including_super_traits},
32-
Adt,
3332
},
3433
util::make_mut_slice,
35-
Const, Enum, EnumVariant, Function, ImplBlock, ModuleDef, Path, Static, Struct, Trait,
34+
Adt, Const, Enum, EnumVariant, Function, ImplBlock, ModuleDef, Path, Static, Struct, Trait,
3635
TypeAlias, Union,
3736
};
3837

0 commit comments

Comments
 (0)