aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_batch
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-02-10 10:48:59 +0000
committerFlorian Diebold <[email protected]>2019-02-10 10:48:59 +0000
commitb18863f987ef14d44a67c0b8ebaa9c7a7fed7f59 (patch)
tree035c27557b40cc6102f4a4cafea401d5fe56a767 /crates/ra_batch
parent6f81a372db9e402126dcc36a725e9b1d71491955 (diff)
Clean up a bit
Diffstat (limited to 'crates/ra_batch')
-rw-r--r--crates/ra_batch/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/ra_batch/src/lib.rs b/crates/ra_batch/src/lib.rs
index c1cfb76bc..837fff4dc 100644
--- a/crates/ra_batch/src/lib.rs
+++ b/crates/ra_batch/src/lib.rs
@@ -22,7 +22,6 @@ type Result<T> = std::result::Result<T, failure::Error>;
22pub struct BatchDatabase { 22pub struct BatchDatabase {
23 runtime: salsa::Runtime<BatchDatabase>, 23 runtime: salsa::Runtime<BatchDatabase>,
24 interner: Arc<HirInterner>, 24 interner: Arc<HirInterner>,
25 // file_counter: u32,
26} 25}
27 26
28impl salsa::Database for BatchDatabase { 27impl salsa::Database for BatchDatabase {
@@ -83,7 +82,7 @@ impl BatchDatabase {
83 VfsChange::AddFile { .. } 82 VfsChange::AddFile { .. }
84 | VfsChange::RemoveFile { .. } 83 | VfsChange::RemoveFile { .. }
85 | VfsChange::ChangeFile { .. } => { 84 | VfsChange::ChangeFile { .. } => {
86 // log::warn!("VFS changed while loading"); 85 // We just need the first scan, so just ignore these
87 } 86 }
88 } 87 }
89 } 88 }