mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
doc comment
This commit is contained in:
parent
d0bab735c8
commit
815a0e5778
@ -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…
Reference in New Issue
Block a user