aboutsummaryrefslogtreecommitdiff
path: root/helix-lsp/src/transport.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-lsp/src/transport.rs')
-rw-r--r--helix-lsp/src/transport.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-lsp/src/transport.rs b/helix-lsp/src/transport.rs
index 4a5ae45a..dd42f7bb 100644
--- a/helix-lsp/src/transport.rs
+++ b/helix-lsp/src/transport.rs
@@ -75,7 +75,7 @@ impl Transport {
}
async fn recv(
- reader: &mut (impl AsyncBufRead + Unpin),
+ reader: &mut (impl AsyncBufRead + Unpin + Send),
headers: &mut HashMap<String, String>,
) -> core::result::Result<Message, std::io::Error> {
// read headers
@@ -117,7 +117,7 @@ impl Transport {
}
async fn err(
- err: &mut (impl AsyncBufRead + Unpin),
+ err: &mut (impl AsyncBufRead + Unpin + Send),
) -> core::result::Result<(), std::io::Error> {
let mut line = String::new();
err.read_line(&mut line).await?;