From 3c024d6c62d9add4051b4d8a863b402c07e8c984 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 25 Oct 2018 17:41:17 +0300 Subject: dead code --- crates/ra_analysis/src/db/input.rs | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'crates/ra_analysis/src/db/input.rs') diff --git a/crates/ra_analysis/src/db/input.rs b/crates/ra_analysis/src/db/input.rs index 957d082f9..25b9935cb 100644 --- a/crates/ra_analysis/src/db/input.rs +++ b/crates/ra_analysis/src/db/input.rs @@ -59,25 +59,3 @@ impl Hash for SourceRoot { } pub(crate) const WORKSPACE: SourceRootId = SourceRootId(0); - - -#[derive(Default, Debug, Eq)] -pub(crate) struct FileSet { - pub(crate) files: FxHashSet, - pub(crate) resolver: FileResolverImp, -} - -impl PartialEq for FileSet { - fn eq(&self, other: &FileSet) -> bool { - self.files == other.files && self.resolver == other.resolver - } -} - -impl Hash for FileSet { - fn hash(&self, hasher: &mut H) { - let mut files = self.files.iter().cloned().collect::>(); - files.sort(); - files.hash(hasher); - } -} - -- cgit v1.2.3