aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_analysis/src/db
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-10-15 19:25:54 +0100
committerAleksey Kladov <[email protected]>2018-10-15 19:25:54 +0100
commit062019590d70279d82fef3a60a2caf9490f8b97b (patch)
tree9519620f51adfe64716d3ec8f11ecf88bfad0839 /crates/ra_analysis/src/db
parentd783371b862c15d6d402d68e8edce4e37d63796c (diff)
Switch to the master of salsa
Diffstat (limited to 'crates/ra_analysis/src/db')
-rw-r--r--crates/ra_analysis/src/db/mod.rs4
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};
7use salsa; 6use salsa;
7use rustc_hash::FxHashSet;
8use ra_syntax::File; 8use ra_syntax::File;
9use ra_editor::{LineIndex}; 9use ra_editor::{LineIndex};
10use crate::{ 10use crate::{
@@ -63,7 +63,7 @@ salsa::query_group! {
63 63
64#[derive(Default, Debug)] 64#[derive(Default, Debug)]
65pub(crate) struct FileSet { 65pub(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