Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'lib/lsp-server/src/error.rs')
-rw-r--r--lib/lsp-server/src/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsp-server/src/error.rs b/lib/lsp-server/src/error.rs
index ebdd153b5b..da55393339 100644
--- a/lib/lsp-server/src/error.rs
+++ b/lib/lsp-server/src/error.rs
@@ -14,7 +14,7 @@ impl ProtocolError {
ProtocolError("disconnected channel".into(), true)
}
- /// Whether this error occured due to a disconnected channel.
+ /// Whether this error occurred due to a disconnected channel.
pub fn channel_is_disconnected(&self) -> bool {
self.1
}