Minor stylistic changes

This commit is contained in:
Antonio Scandurra 2021-09-09 19:51:26 +02:00
parent b3aad5d333
commit 000305472a
2 changed files with 2 additions and 3 deletions

View file

@ -93,8 +93,7 @@ impl ChannelList {
async move {
let mut status = rpc.status();
loop {
let status = status.recv().await.unwrap();
match status {
match status.recv().await.unwrap() {
rpc::Status::Connected { .. } => {
let response = rpc
.request(proto::GetChannels {})

View file

@ -1582,7 +1582,7 @@ impl File {
.await
{
log::error!("error closing remote buffer: {}", error);
};
}
})
.detach();
}