From ed27bd8d776e7efd4394d6cdda02aa7f93c48273 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 25 Jan 2019 10:20:35 +0300 Subject: remove useless wrapper --- crates/ra_hir/src/code_model_impl/module.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crates/ra_hir/src/code_model_impl') diff --git a/crates/ra_hir/src/code_model_impl/module.rs b/crates/ra_hir/src/code_model_impl/module.rs index a5b190384..bf0e212ca 100644 --- a/crates/ra_hir/src/code_model_impl/module.rs +++ b/crates/ra_hir/src/code_model_impl/module.rs @@ -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 { - let item_map = db.item_map(self.krate); - item_map.resolve_path(db, *self, path) - } - pub(crate) fn problems_impl( &self, db: &impl HirDatabase, -- cgit v1.2.3