aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_vfs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-12-19 07:29:48 +0000
committerAleksey Kladov <[email protected]>2018-12-20 09:15:38 +0000
commit815a0e577821a3876aa4c79c13200607acadcd2f (patch)
tree3a8c66bd816960d641dee30ec60d84c0baaeb375 /crates/ra_vfs
parentd0bab735c81d616629a54cca7b35c2f7cd26408a (diff)
doc comment
Diffstat (limited to 'crates/ra_vfs')
-rw-r--r--crates/ra_vfs/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_vfs/src/lib.rs b/crates/ra_vfs/src/lib.rs
index 20482c396..6c1af5ef9 100644
--- a/crates/ra_vfs/src/lib.rs
+++ b/crates/ra_vfs/src/lib.rs
@@ -212,6 +212,7 @@ impl Vfs {
212 mem::replace(&mut self.pending_changes, Vec::new()) 212 mem::replace(&mut self.pending_changes, Vec::new())
213 } 213 }
214 214
215 /// Sutdown the VFS and terminate the background watching thread.
215 pub fn shutdown(self) -> thread::Result<()> { 216 pub fn shutdown(self) -> thread::Result<()> {
216 let _ = self.worker.shutdown(); 217 let _ = self.worker.shutdown();
217 self.worker_handle.shutdown() 218 self.worker_handle.shutdown()