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_api.rs | |
parent | b90b90cb9518e8fac3cf93ab1d7565cc2cf94ce0 (diff) |
remove useless wrapper
Diffstat (limited to 'crates/ra_hir/src/code_model_api.rs')
-rw-r--r-- | crates/ra_hir/src/code_model_api.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/code_model_api.rs b/crates/ra_hir/src/code_model_api.rs index 6739627b4..e469c782e 100644 --- a/crates/ra_hir/src/code_model_api.rs +++ b/crates/ra_hir/src/code_model_api.rs | |||
@@ -169,7 +169,7 @@ impl Module { | |||
169 | } | 169 | } |
170 | 170 | ||
171 | pub fn resolve_path(&self, db: &impl HirDatabase, path: &Path) -> PerNs<ModuleDef> { | 171 | pub fn resolve_path(&self, db: &impl HirDatabase, path: &Path) -> PerNs<ModuleDef> { |
172 | self.resolve_path_impl(db, path) | 172 | db.item_map(self.krate).resolve_path(db, *self, path) |
173 | } | 173 | } |
174 | 174 | ||
175 | pub fn problems(&self, db: &impl HirDatabase) -> Vec<(TreeArc<SyntaxNode>, Problem)> { | 175 | pub fn problems(&self, db: &impl HirDatabase) -> Vec<(TreeArc<SyntaxNode>, Problem)> { |