Cargo fmt run

This commit is contained in:
Emil Lauridsen 2019-12-27 11:47:09 +01:00
parent 02ce5bbf6b
commit 4d33835a34

View file

@ -176,13 +176,7 @@ impl CheckWatcherState {
shared: Arc<RwLock<CheckWatcherSharedState>>,
) -> CheckWatcherState {
let watcher = WatchThread::new(&options, &workspace_root);
CheckWatcherState {
options,
workspace_root,
watcher,
last_update_req: None,
shared,
}
CheckWatcherState { options, workspace_root, watcher, last_update_req: None, shared }
}
pub fn run(&mut self, task_send: &Sender<CheckTask>, cmd_recv: &Receiver<CheckCommand>) {