Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'lib/lsp-server/src/stdio.rs')
| -rw-r--r-- | lib/lsp-server/src/stdio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsp-server/src/stdio.rs b/lib/lsp-server/src/stdio.rs index 4ca432d102..c558b6c6e7 100644 --- a/lib/lsp-server/src/stdio.rs +++ b/lib/lsp-server/src/stdio.rs @@ -40,7 +40,7 @@ pub(crate) fn stdio_transport() -> (Sender<Message>, Receiver<Message>, IoThread debug!("sending message {:#?}", msg); if let Err(e) = reader_sender.send(msg) { - return Err(io::Error::new(io::ErrorKind::Other, e)); + return Err(io::Error::other(e)); } if is_exit { |