提交 112857fd authored 作者: Serhij S's avatar Serhij S

fmt

上级 03354b8b
...@@ -124,8 +124,8 @@ async fn exec_remote( ...@@ -124,8 +124,8 @@ async fn exec_remote(
macro_rules! handle_out { macro_rules! handle_out {
($out: expr) => { ($out: expr) => {
let Some(Ok(Message::Binary(b))) = receiver.next().await else { let Some(Ok(Message::Binary(b))) = receiver.next().await else {
return Err("Expected binary message".into()); return Err("Expected binary message".into());
}; };
$out.write_all(&b)?; $out.write_all(&b)?;
$out.flush()?; $out.flush()?;
}; };
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论