mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-08-03 18:29:03 +00:00
Fix compiler warnings
This commit is contained in:
parent
8cef41cd1e
commit
9e5db28a4a
1 changed files with 4 additions and 4 deletions
|
@ -36,19 +36,19 @@ where
|
|||
let server = Arc::clone(&self.server);
|
||||
let mut output = self.output.clone();
|
||||
|
||||
runtime::spawn(async move {
|
||||
drop(runtime::spawn(async move {
|
||||
let response = server.handle_request(request).await;
|
||||
let json = serde_json::to_string(&response).unwrap();
|
||||
output.send(json).await.unwrap();
|
||||
server.execute_actions().await;
|
||||
});
|
||||
}));
|
||||
}
|
||||
Ok(Message::Notification(notification)) => {
|
||||
self.server.handle_notification(notification);
|
||||
let server = Arc::clone(&self.server);
|
||||
runtime::spawn(async move {
|
||||
drop(runtime::spawn(async move {
|
||||
server.execute_actions().await;
|
||||
});
|
||||
}));
|
||||
}
|
||||
Ok(Message::Response(response)) => {
|
||||
self.client.handle(response).await;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue