Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide_ssr/src/nester.rs')
| -rw-r--r-- | crates/ide_ssr/src/nester.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/ide_ssr/src/nester.rs b/crates/ide_ssr/src/nester.rs index e734125ec8..0c1b2685b2 100644 --- a/crates/ide_ssr/src/nester.rs +++ b/crates/ide_ssr/src/nester.rs @@ -7,10 +7,11 @@ //! then we'll get 3 matches, however only the outermost and innermost matches can be accepted. The //! middle match would take the second `foo` from the outer match. -use crate::{Match, SsrMatches}; -use rustc_hash::FxHashMap; +use ide_db::FxHashMap; use syntax::SyntaxNode; +use crate::{Match, SsrMatches}; + pub(crate) fn nest_and_remove_collisions( mut matches: Vec<Match>, sema: &hir::Semantics<ide_db::RootDatabase>, |