Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/references.rs')
-rw-r--r--crates/ide/src/references.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ide/src/references.rs b/crates/ide/src/references.rs
index bdda25a111..dcdc6118a3 100644
--- a/crates/ide/src/references.rs
+++ b/crates/ide/src/references.rs
@@ -9,8 +9,6 @@
//! at the index that the match starts at and its tree parent is
//! resolved to the search element definition, we get a reference.
-use std::collections::HashMap;
-
use hir::{DescendPreference, PathResolution, Semantics};
use ide_db::{
base_db::FileId,
@@ -79,7 +77,7 @@ pub(crate) fn find_all_refs(
.collect(),
)
})
- .collect::<HashMap<_, Vec<_>, _>>();
+ .collect::<IntMap<_, Vec<_>>>();
let declaration = match def {
Definition::Module(module) => {
Some(NavigationTarget::from_module_to_decl(sema.db, module))