Skip to content

Commit 91c6f62

Browse files
committed
f Add #[allow(clippy::bool_comparison)] to shut up lint
.. no, thanks, linter. Yes, I really want to highlight the return value here.
1 parent 6f5875c commit 91c6f62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning-liquidity/src/lsps2/service.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1289,6 +1289,7 @@ where
12891289
}
12901290
}
12911291

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

0 commit comments

Comments
 (0)