mirror of
https://github.com/serai-dex/serai.git
synced 2025-03-12 09:26:51 +00:00
tests/processor clippy
This commit is contained in:
parent
044b299cda
commit
e3a70ef0dc
2 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
|||
#![allow(clippy::needless_pass_by_ref_mut)] // False positives
|
||||
|
||||
use std::sync::{OnceLock, Mutex};
|
||||
|
||||
use zeroize::Zeroizing;
|
||||
|
|
|
@ -319,7 +319,7 @@ impl Wallet {
|
|||
let rpc = HttpRpc::new(rpc_url).expect("couldn't connect to the Monero RPC");
|
||||
|
||||
// Prepare inputs
|
||||
let outputs = inputs.drain(..).collect::<Vec<_>>();
|
||||
let outputs = std::mem::take(inputs);
|
||||
let mut these_inputs = vec![];
|
||||
for output in outputs {
|
||||
these_inputs.push(
|
||||
|
|
Loading…
Reference in a new issue