aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cargo_watch/src
diff options
context:
space:
mode:
authorEmil Lauridsen <[email protected]>2019-12-27 10:47:09 +0000
committerEmil Lauridsen <[email protected]>2019-12-27 10:47:09 +0000
commit4d33835a34b4ccdfc4ea34b8f3f8ff61d092a543 (patch)
tree5e647c1a57a443c0b11ec6c7378e75137d25d34d /crates/ra_cargo_watch/src
parent02ce5bbf6b46a67c3fc12b964de204b8130f1b10 (diff)
Cargo fmt run
Diffstat (limited to 'crates/ra_cargo_watch/src')
-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>) {