Skip to content

Commit 610f0e2

Browse files
coinage-layer: silence unused-variable warning on check_has_live_coin_in key
1 parent 17e79a0 commit 610f0e2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • rust/crates/coinage-layer/src

rust/crates/coinage-layer/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4751,6 +4751,7 @@ impl State {
47514751
let c = &self.coins[j];
47524752
let is_spent = matches!(c.state, CoinState::Spent);
47534753
if c.purse == p && !is_spent {
4754+
#[allow(unused_variables)]
47544755
let key = (c.purse, c.idx);
47554756
proof {
47564757
assert(self.spec_coins@.dom().contains(key));

0 commit comments

Comments
 (0)