Skip to content

Commit

Permalink
f Add #[allow(clippy::bool_comparison)] to shut up lint
Browse files Browse the repository at this point in the history
.. no, thanks, linter. Yes, I really want to highlight the return value
here.
  • Loading branch information
tnull committed Dec 11, 2024
1 parent 6f5875c commit 91c6f62
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lightning-liquidity/src/lsps2/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1289,6 +1289,7 @@ where
}
}

#[allow(clippy::bool_comparison)]
pub(crate) fn prune_peer_state(&self) {
let mut outer_state_lock = self.per_peer_state.write().unwrap();
outer_state_lock.retain(|_, inner_state_lock| {
Expand Down

0 comments on commit 91c6f62

Please sign in to comment.