Skip to content

Commit

Permalink
fix: clippy on Rust nightly (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 authored Jan 31, 2025
1 parent 6b9533e commit 4d51493
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions boltzr/src/webhook/caller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,7 @@ impl Caller {
.send()
.await
{
Ok(res) => match res.error_for_status() {
Ok(_) => None,
Err(err) => Some(err),
},
Ok(res) => res.error_for_status().err(),
Err(err) => Some(err),
};

Expand Down

0 comments on commit 4d51493

Please sign in to comment.