Fix code linting warnings

This commit is contained in:
Tobie Morgan Hitchcock 2022-10-19 15:35:42 +01:00
parent 18d69a620c
commit 65f8194a1f

View file

@ -75,7 +75,7 @@ impl Rpc {
// Create the ping message // Create the ping message
let msg = Message::ping(vec![]); let msg = Message::ping(vec![]);
// Send the message to the client // 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 // Exit out of the loop
break; break;
} }