mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Clean up a bit
This commit is contained in:
parent
6f81a372db
commit
b18863f987
2 changed files with 1 additions and 9 deletions
|
@ -22,7 +22,6 @@ type Result<T> = std::result::Result<T, failure::Error>;
|
|||
pub struct BatchDatabase {
|
||||
runtime: salsa::Runtime<BatchDatabase>,
|
||||
interner: Arc<HirInterner>,
|
||||
// file_counter: u32,
|
||||
}
|
||||
|
||||
impl salsa::Database for BatchDatabase {
|
||||
|
@ -83,7 +82,7 @@ impl BatchDatabase {
|
|||
VfsChange::AddFile { .. }
|
||||
| VfsChange::RemoveFile { .. }
|
||||
| VfsChange::ChangeFile { .. } => {
|
||||
// log::warn!("VFS changed while loading");
|
||||
// We just need the first scan, so just ignore these
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue