mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
doc comment
This commit is contained in:
parent
d0bab735c8
commit
815a0e5778
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue