diff options
author | Aleksey Kladov <[email protected]> | 2018-10-15 19:25:54 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-10-15 19:25:54 +0100 |
commit | 062019590d70279d82fef3a60a2caf9490f8b97b (patch) | |
tree | 9519620f51adfe64716d3ec8f11ecf88bfad0839 /crates/ra_analysis/src/db | |
parent | d783371b862c15d6d402d68e8edce4e37d63796c (diff) |
Switch to the master of salsa
Diffstat (limited to 'crates/ra_analysis/src/db')
-rw-r--r-- | crates/ra_analysis/src/db/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_analysis/src/db/mod.rs b/crates/ra_analysis/src/db/mod.rs index c54d50252..c84bfa7a8 100644 --- a/crates/ra_analysis/src/db/mod.rs +++ b/crates/ra_analysis/src/db/mod.rs | |||
@@ -2,9 +2,9 @@ use std::{ | |||
2 | fmt, | 2 | fmt, |
3 | sync::Arc, | 3 | sync::Arc, |
4 | hash::{Hash, Hasher}, | 4 | hash::{Hash, Hasher}, |
5 | collections::HashSet, | ||
6 | }; | 5 | }; |
7 | use salsa; | 6 | use salsa; |
7 | use rustc_hash::FxHashSet; | ||
8 | use ra_syntax::File; | 8 | use ra_syntax::File; |
9 | use ra_editor::{LineIndex}; | 9 | use ra_editor::{LineIndex}; |
10 | use crate::{ | 10 | use crate::{ |
@@ -63,7 +63,7 @@ salsa::query_group! { | |||
63 | 63 | ||
64 | #[derive(Default, Debug)] | 64 | #[derive(Default, Debug)] |
65 | pub(crate) struct FileSet { | 65 | pub(crate) struct FileSet { |
66 | pub(crate) files: HashSet<FileId>, | 66 | pub(crate) files: FxHashSet<FileId>, |
67 | pub(crate) resolver: FileResolverImp, | 67 | pub(crate) resolver: FileResolverImp, |
68 | } | 68 | } |
69 | 69 | ||