diff options
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index 96923fac7..7fc0b8f50 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -326,7 +326,7 @@ fn on_notification( | |||
326 | if pending_requests.remove(&id) { | 326 | if pending_requests.remove(&id) { |
327 | let response = RawResponse::err( | 327 | let response = RawResponse::err( |
328 | id, | 328 | id, |
329 | ErrorCode::RequestCancelled as i32, | 329 | ErrorCode::RequestCanceled as i32, |
330 | "canceled by client".to_string(), | 330 | "canceled by client".to_string(), |
331 | ); | 331 | ); |
332 | msg_sender.send(RawMessage::Response(response)).unwrap() | 332 | msg_sender.send(RawMessage::Response(response)).unwrap() |