cleanup hir db imports

This commit is contained in:
Aleksey Kladov 2019-09-08 09:53:49 +03:00
parent 787f1206a9
commit 6021a2a83a
24 changed files with 65 additions and 43 deletions

View file

@ -8,7 +8,10 @@ use ra_db::{salsa, FileId};
use ra_prof::profile;
use ra_syntax::{ast, AstNode, Parse, SyntaxNode};
use crate::{AstDatabase, AstId, DefDatabase, FileAstId, InternDatabase, Module, Source};
use crate::{
db::{AstDatabase, DefDatabase, InternDatabase},
AstId, FileAstId, Module, Source,
};
/// hir makes heavy use of ids: integer (u32) handlers to various things. You
/// can think of id as a pointer (but without a lifetime) or a file descriptor