diff --git a/crates/ra_vfs/src/lib.rs b/crates/ra_vfs/src/lib.rs index 20482c396b..6c1af5ef99 100644 --- a/crates/ra_vfs/src/lib.rs +++ b/crates/ra_vfs/src/lib.rs @@ -212,6 +212,7 @@ impl Vfs { mem::replace(&mut self.pending_changes, Vec::new()) } + /// Sutdown the VFS and terminate the background watching thread. pub fn shutdown(self) -> thread::Result<()> { let _ = self.worker.shutdown(); self.worker_handle.shutdown()