Remove redundant calls to clone
No need to clone copy types, found by clippy.
This commit is contained in:
@@ -227,7 +227,7 @@ pub mod test {
|
||||
);
|
||||
assert_eq!(
|
||||
tree.get_path_from_script_pubkey(&script).unwrap(),
|
||||
Some((keychain, path.clone()))
|
||||
Some((keychain, path))
|
||||
);
|
||||
}
|
||||
|
||||
@@ -256,7 +256,7 @@ pub mod test {
|
||||
);
|
||||
assert_eq!(
|
||||
tree.get_path_from_script_pubkey(&script).unwrap(),
|
||||
Some((keychain, path.clone()))
|
||||
Some((keychain, path))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user