remove useless wrapper

This commit is contained in:
Aleksey Kladov 2019-01-25 10:20:35 +03:00
parent b90b90cb95
commit ed27bd8d77
2 changed files with 1 additions and 6 deletions

View file

@ -96,11 +96,6 @@ impl Module {
item_map.per_module[&self.module_id].clone()
}
pub(crate) fn resolve_path_impl(&self, db: &impl HirDatabase, path: &Path) -> PerNs<ModuleDef> {
let item_map = db.item_map(self.krate);
item_map.resolve_path(db, *self, path)
}
pub(crate) fn problems_impl(
&self,
db: &impl HirDatabase,