Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
xlc committed May 14, 2024
1 parent f0135e2 commit 5037984
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extensions/client/endpoint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ impl Endpoint {
health.on_error(err);
}

if let Err(_) = response.send(resp) {
if response.send(resp).is_err() {
tracing::error!("Unable to send response to message channel");
}
});
Expand Down Expand Up @@ -258,7 +258,7 @@ impl Endpoint {
health.on_error(err);
}

if let Err(_) = response.send(resp) {
if response.send(resp).is_err() {
tracing::error!("Unable to send response to message channel");
}
});
Expand Down

0 comments on commit 5037984

Please sign in to comment.