diff options
author | Aleksey Kladov <[email protected]> | 2021-01-19 22:56:11 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-19 22:56:11 +0000 |
commit | 46b4f89c920c314caf1a8af2abdb09732d100d67 (patch) | |
tree | 1f01586d15be6fbcbcb6a40194ab6f1f723a36b7 /crates/ssr/src/resolving.rs | |
parent | 63f509f4924e7448b9131514bbdd7a4da5292cd1 (diff) |
.
Diffstat (limited to 'crates/ssr/src/resolving.rs')
-rw-r--r-- | crates/ssr/src/resolving.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ssr/src/resolving.rs b/crates/ssr/src/resolving.rs index f5ceb5729..14e5a3b69 100644 --- a/crates/ssr/src/resolving.rs +++ b/crates/ssr/src/resolving.rs | |||
@@ -228,7 +228,7 @@ impl<'db> ResolutionScope<'db> { | |||
228 | None, | 228 | None, |
229 | |_ty, assoc_item| { | 229 | |_ty, assoc_item| { |
230 | let item_name = assoc_item.name(self.scope.db)?; | 230 | let item_name = assoc_item.name(self.scope.db)?; |
231 | if item_name.to_string().as_str() == name.text().as_str() { | 231 | if item_name.to_string().as_str() == name.text() { |
232 | Some(hir::PathResolution::AssocItem(assoc_item)) | 232 | Some(hir::PathResolution::AssocItem(assoc_item)) |
233 | } else { | 233 | } else { |
234 | None | 234 | None |