diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_db/src/lib.rs | 2 | ||||
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_db/src/lib.rs b/crates/ra_db/src/lib.rs index 65fa3cbfa..0aca6f343 100644 --- a/crates/ra_db/src/lib.rs +++ b/crates/ra_db/src/lib.rs | |||
@@ -15,7 +15,7 @@ pub type Cancelable<T> = Result<T, Canceled>; | |||
15 | 15 | ||
16 | impl std::fmt::Display for Canceled { | 16 | impl std::fmt::Display for Canceled { |
17 | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { | 17 | fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { |
18 | fmt.write_str("Canceled") | 18 | fmt.write_str("canceled") |
19 | } | 19 | } |
20 | } | 20 | } |
21 | 21 | ||
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index 1d6e3e5d6..afe0fec89 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -387,7 +387,7 @@ impl<'a> PoolDispatcher<'a> { | |||
387 | RawResponse::err( | 387 | RawResponse::err( |
388 | id, | 388 | id, |
389 | ErrorCode::ContentModified as i32, | 389 | ErrorCode::ContentModified as i32, |
390 | e.to_string(), | 390 | format!("content modified: {}", e), |
391 | ) | 391 | ) |
392 | } else { | 392 | } else { |
393 | RawResponse::err( | 393 | RawResponse::err( |