mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +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>>,
|
shared: Arc<RwLock<CheckWatcherSharedState>>,
|
||||||
) -> CheckWatcherState {
|
) -> CheckWatcherState {
|
||||||
let watcher = WatchThread::new(&options, &workspace_root);
|
let watcher = WatchThread::new(&options, &workspace_root);
|
||||||
CheckWatcherState {
|
CheckWatcherState { options, workspace_root, watcher, last_update_req: None, shared }
|
||||||
options,
|
|
||||||
workspace_root,
|
|
||||||
watcher,
|
|
||||||
last_update_req: None,
|
|
||||||
shared,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn run(&mut self, task_send: &Sender<CheckTask>, cmd_recv: &Receiver<CheckCommand>) {
|
pub fn run(&mut self, task_send: &Sender<CheckTask>, cmd_recv: &Receiver<CheckCommand>) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue