diff options
author | Aleksey Kladov <[email protected]> | 2019-01-25 07:20:35 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-25 07:20:35 +0000 |
commit | ed27bd8d776e7efd4394d6cdda02aa7f93c48273 (patch) | |
tree | 4289655253b707821a654833e0c366d2008c26d3 /crates/ra_hir/src/code_model_impl | |
parent | b90b90cb9518e8fac3cf93ab1d7565cc2cf94ce0 (diff) |
remove useless wrapper
Diffstat (limited to 'crates/ra_hir/src/code_model_impl')
-rw-r--r-- | crates/ra_hir/src/code_model_impl/module.rs | 5 |
1 files changed, 0 insertions, 5 deletions
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 { | |||
96 | item_map.per_module[&self.module_id].clone() | 96 | item_map.per_module[&self.module_id].clone() |
97 | } | 97 | } |
98 | 98 | ||
99 | pub(crate) fn resolve_path_impl(&self, db: &impl HirDatabase, path: &Path) -> PerNs<ModuleDef> { | ||
100 | let item_map = db.item_map(self.krate); | ||
101 | item_map.resolve_path(db, *self, path) | ||
102 | } | ||
103 | |||
104 | pub(crate) fn problems_impl( | 99 | pub(crate) fn problems_impl( |
105 | &self, | 100 | &self, |
106 | db: &impl HirDatabase, | 101 | db: &impl HirDatabase, |