aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_cargo_watch/src/lib.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/crates/ra_cargo_watch/src/lib.rs b/crates/ra_cargo_watch/src/lib.rs
index 4af26ff8c..d17edd775 100644
--- a/crates/ra_cargo_watch/src/lib.rs
+++ b/crates/ra_cargo_watch/src/lib.rs
@@ -176,13 +176,7 @@ impl CheckWatcherState {
176 shared: Arc<RwLock<CheckWatcherSharedState>>, 176 shared: Arc<RwLock<CheckWatcherSharedState>>,
177 ) -> CheckWatcherState { 177 ) -> CheckWatcherState {
178 let watcher = WatchThread::new(&options, &workspace_root); 178 let watcher = WatchThread::new(&options, &workspace_root);
179 CheckWatcherState { 179 CheckWatcherState { options, workspace_root, watcher, last_update_req: None, shared }
180 options,
181 workspace_root,
182 watcher,
183 last_update_req: None,
184 shared,
185 }
186 } 180 }
187 181
188 pub fn run(&mut self, task_send: &Sender<CheckTask>, cmd_recv: &Receiver<CheckCommand>) { 182 pub fn run(&mut self, task_send: &Sender<CheckTask>, cmd_recv: &Receiver<CheckCommand>) {