Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
vv9k committed Jun 17, 2021
1 parent 19532b1 commit 1a326cb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions helix-lsp/src/transport.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use crate::Result;
use anyhow::Context;
use jsonrpc_core as jsonrpc;
use log::{error, info};
use serde::{Deserialize, Serialize};
Expand All @@ -9,7 +10,6 @@ use tokio::{
process::{ChildStderr, ChildStdin, ChildStdout},
sync::mpsc::{unbounded_channel, Sender, UnboundedReceiver, UnboundedSender},
};
use anyhow::{Context};

#[derive(Debug)]
pub enum Payload {
Expand Down Expand Up @@ -157,7 +157,9 @@ impl Transport {
match msg {
ServerMessage::Output(output) => self.process_request_response(output).await?,
ServerMessage::Call(call) => {
self.client_tx.send(call).context("failed to send a message to server")?;
self.client_tx
.send(call)
.context("failed to send a message to server")?;
// let notification = Notification::parse(&method, params);
}
};
Expand Down

0 comments on commit 1a326cb

Please sign in to comment.