Skip to content

Commit 70ee4e5

Browse files
committed
Bump lsp-server
1 parent a0f1832 commit 70ee4e5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rust-analyzer/src/global_state.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ impl GlobalState {
540540
}
541541

542542
pub(crate) fn respond(&mut self, response: lsp_server::Response) {
543-
if let Some((method, start)) = self.req_queue.incoming.complete(response.id.clone()) {
543+
if let Some((method, start)) = self.req_queue.incoming.complete(&response.id) {
544544
if let Some(err) = &response.error {
545545
if err.message.starts_with("server panicked") {
546546
self.poke_rust_analyzer_developer(format!("{}, check the log", err.message))

0 commit comments

Comments
 (0)