diff options
author | Dmitry Sharshakov | 2021-08-13 14:56:46 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-08-20 04:43:54 +0000 |
commit | 26a55dcefd9774235cd8c40eb2724daa0808e376 (patch) | |
tree | 95c5db6c7f987e049825e1e1028277348ec235d1 /helix-dap/src/client.rs | |
parent | e11b67b0db32c6459ab672a23b04c66de093e4ee (diff) |
dap: make transport IO-agnostic
Diffstat (limited to 'helix-dap/src/client.rs')
-rw-r--r-- | helix-dap/src/client.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs index e8ad2c6f..08f7704e 100644 --- a/helix-dap/src/client.rs +++ b/helix-dap/src/client.rs @@ -280,7 +280,7 @@ impl Client { let writer = BufWriter::new(process.stdin.take().expect("Failed to open stdin")); let reader = BufReader::new(process.stdout.take().expect("Failed to open stdout")); - let (server_rx, server_tx) = Transport::start(reader, writer, id); + let (server_rx, server_tx) = Transport::start(Box::new(reader), Box::new(writer), id); let client = Self { id, |