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 d2f16ea97..1d6e3e5d6 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -386,7 +386,7 @@ impl<'a> PoolDispatcher<'a> { | |||
386 | if is_canceled(&e) { | 386 | if is_canceled(&e) { |
387 | RawResponse::err( | 387 | RawResponse::err( |
388 | id, | 388 | id, |
389 | ErrorCode::RequestCancelled as i32, | 389 | ErrorCode::ContentModified as i32, |
390 | e.to_string(), | 390 | e.to_string(), |
391 | ) | 391 | ) |
392 | } else { | 392 | } else { |