Fix code linting warnings
This commit is contained in:
parent
18d69a620c
commit
65f8194a1f
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ impl Rpc {
|
|||
// Create the ping message
|
||||
let msg = Message::ping(vec![]);
|
||||
// Send the message to the client
|
||||
if let Err(_) = png.send(msg).await {
|
||||
if png.send(msg).await.is_err() {
|
||||
// Exit out of the loop
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue