mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Cargo fmt run
This commit is contained in:
parent
02ce5bbf6b
commit
4d33835a34
1 changed files with 1 additions and 7 deletions
|
@ -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>) {
|
||||
|
|
Loading…
Reference in a new issue