From 173cc42d00748e95df889fd487b5bebf458109d6 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Sun, 15 Dec 2024 19:35:58 -0600 Subject: [PATCH] ci(clippy): fix updated ptr_arg check for rust 1.83 https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg https://github.com/rust-lang/rust-clippy/pull/13313 --- crates/wallet/src/wallet/coin_selection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/wallet/src/wallet/coin_selection.rs b/crates/wallet/src/wallet/coin_selection.rs index a785c3b2..4429fae7 100644 --- a/crates/wallet/src/wallet/coin_selection.rs +++ b/crates/wallet/src/wallet/coin_selection.rs @@ -898,7 +898,7 @@ mod test { .collect() } - fn sum_random_utxos(mut rng: &mut StdRng, utxos: &mut Vec) -> Amount { + fn sum_random_utxos(mut rng: &mut StdRng, utxos: &mut [WeightedUtxo]) -> Amount { let utxos_picked_len = rng.gen_range(2..utxos.len() / 2); utxos.shuffle(&mut rng); utxos[..utxos_picked_len] -- 2.49.0