aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/impls.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/impls.rs')
-rw-r--r--crates/ra_ide_api/src/impls.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ra_ide_api/src/impls.rs b/crates/ra_ide_api/src/impls.rs
index 681bd808d..896b47f10 100644
--- a/crates/ra_ide_api/src/impls.rs
+++ b/crates/ra_ide_api/src/impls.rs
@@ -50,8 +50,8 @@ fn impls_for_def(
50 50
51 Some( 51 Some(
52 impls 52 impls
53 .lookup_impl_blocks(db, &ty) 53 .lookup_impl_blocks(&ty)
54 .map(|(module, imp)| NavigationTarget::from_impl_block(db, module, &imp)) 54 .map(|imp| NavigationTarget::from_impl_block(db, imp))
55 .collect(), 55 .collect(),
56 ) 56 )
57} 57}
@@ -68,8 +68,8 @@ fn impls_for_trait(
68 68
69 Some( 69 Some(
70 impls 70 impls
71 .lookup_impl_blocks_for_trait(db, &tr) 71 .lookup_impl_blocks_for_trait(&tr)
72 .map(|(module, imp)| NavigationTarget::from_impl_block(db, module, &imp)) 72 .map(|imp| NavigationTarget::from_impl_block(db, imp))
73 .collect(), 73 .collect(),
74 ) 74 )
75} 75}