aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r--crates/ra_lsp_server/src/main_loop.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs
index 1baeff266..ce50fb301 100644
--- a/crates/ra_lsp_server/src/main_loop.rs
+++ b/crates/ra_lsp_server/src/main_loop.rs
@@ -425,8 +425,11 @@ impl<'a> PoolDispatcher<'a> {
425 // ErrorCode::ContentModified as i32, 425 // ErrorCode::ContentModified as i32,
426 // "content modified".to_string(), 426 // "content modified".to_string(),
427 // ) 427 // )
428 RawResponse::empty(id) 428 RawResponse {
429 429 id,
430 result: Some(serde_json::to_value(&()).unwrap()),
431 error: None,
432 }
430 } else { 433 } else {
431 RawResponse::err( 434 RawResponse::err(
432 id, 435 id,