Remove redundant calls to clone
No need to clone copy types, found by clippy.
This commit is contained in:
@@ -678,7 +678,7 @@ mod test {
|
||||
use std::str::FromStr;
|
||||
|
||||
let original_tx = ordering_test_tx!();
|
||||
let mut tx = original_tx.clone();
|
||||
let mut tx = original_tx;
|
||||
|
||||
TxOrdering::BIP69Lexicographic.sort_tx(&mut tx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user