diff options
Diffstat (limited to 'crates/ra_hir/src/ty/traits.rs')
-rw-r--r-- | crates/ra_hir/src/ty/traits.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/traits.rs b/crates/ra_hir/src/ty/traits.rs index 3c902451b..cff4de316 100644 --- a/crates/ra_hir/src/ty/traits.rs +++ b/crates/ra_hir/src/ty/traits.rs | |||
@@ -50,7 +50,7 @@ pub(crate) fn impls_for_trait_query( | |||
50 | impls.extend(db.impls_for_trait(dep.krate, trait_).iter()); | 50 | impls.extend(db.impls_for_trait(dep.krate, trait_).iter()); |
51 | } | 51 | } |
52 | let crate_impl_blocks = db.impls_in_crate(krate); | 52 | let crate_impl_blocks = db.impls_in_crate(krate); |
53 | impls.extend(crate_impl_blocks.lookup_impl_blocks_for_trait(&trait_)); | 53 | impls.extend(crate_impl_blocks.lookup_impl_blocks_for_trait(trait_)); |
54 | impls.into_iter().collect::<Vec<_>>().into() | 54 | impls.into_iter().collect::<Vec<_>>().into() |
55 | } | 55 | } |
56 | 56 | ||