aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cargo_watch/src/lib.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-03-28 12:19:05 +0000
committerAleksey Kladov <[email protected]>2020-03-30 10:33:01 +0100
commit12297ab67533200748ee9f60da4bc86dee1133d9 (patch)
tree2f46877e85c6a10b810dd6ff2a0e0c680c800bda /crates/ra_cargo_watch/src/lib.rs
parentf7df0b56a76360419b31d8030c5c250bd54d8b6d (diff)
Fix race in the tests
Diffstat (limited to 'crates/ra_cargo_watch/src/lib.rs')
-rw-r--r--crates/ra_cargo_watch/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_cargo_watch/src/lib.rs b/crates/ra_cargo_watch/src/lib.rs
index 1ced7712a..1cac954c3 100644
--- a/crates/ra_cargo_watch/src/lib.rs
+++ b/crates/ra_cargo_watch/src/lib.rs
@@ -35,10 +35,10 @@ pub struct CheckOptions {
35/// The spawned thread is shut down when this struct is dropped. 35/// The spawned thread is shut down when this struct is dropped.
36#[derive(Debug)] 36#[derive(Debug)]
37pub struct CheckWatcher { 37pub struct CheckWatcher {
38 pub task_recv: Receiver<CheckTask>,
39 // XXX: drop order is significant 38 // XXX: drop order is significant
40 cmd_send: Option<Sender<CheckCommand>>, 39 cmd_send: Option<Sender<CheckCommand>>,
41 handle: Option<jod_thread::JoinHandle<()>>, 40 handle: Option<jod_thread::JoinHandle<()>>,
41 pub task_recv: Receiver<CheckTask>,
42} 42}
43 43
44impl CheckWatcher { 44impl CheckWatcher {