mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-25 07:17:40 +01:00
It was noticed (via clippy) by @casey that we were taking and then immediately dropping the total_consistency_lock because `let _ =` doesn't actually bind the response to anything. This appears to be a consequence of wanting `if let Some(_) =` to not hold a ref to the contained value at all, but is relatively surprising to me. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |