diff options
Diffstat (limited to 'crates/ra_lsp_server')
-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 eab82ee85..16a52c6d6 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -417,7 +417,7 @@ impl<'a> PoolDispatcher<'a> { | |||
417 | if is_canceled(&e) { | 417 | if is_canceled(&e) { |
418 | RawResponse::err( | 418 | RawResponse::err( |
419 | id, | 419 | id, |
420 | ErrorCode::RequestCancelled as i32, | 420 | ErrorCode::ContentModified as i32, |
421 | e.to_string(), | 421 | e.to_string(), |
422 | ) | 422 | ) |
423 | } else { | 423 | } else { |