Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'lib/lsp-server/src/lib.rs')
-rw-r--r--lib/lsp-server/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lsp-server/src/lib.rs b/lib/lsp-server/src/lib.rs
index 4069e6f2c0..c8cdb86681 100644
--- a/lib/lsp-server/src/lib.rs
+++ b/lib/lsp-server/src/lib.rs
@@ -356,17 +356,17 @@ impl Connection {
Ok(msg) => {
return Err(ProtocolError::new(format!(
"unexpected message during shutdown: {msg:?}"
- )))
+ )));
}
Err(RecvTimeoutError::Timeout) => {
return Err(ProtocolError::new(
"timed out waiting for exit notification".to_owned(),
- ))
+ ));
}
Err(RecvTimeoutError::Disconnected) => {
return Err(ProtocolError::new(
"channel disconnected waiting for exit notification".to_owned(),
- ))
+ ));
}
}
Ok(true)