Skip to content

Commit d12fb82

Browse files
committed
Clippy fixes
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 3ea6130 commit d12fb82

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stacks-signer/src/v0/signer_state.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl GlobalStateEvaluator {
7373
local_address: StacksAddress,
7474
local_update: StateMachineUpdateMessage,
7575
) -> Option<u64> {
76-
self.insert_update(local_address.clone(), local_update);
76+
self.insert_update(local_address, local_update);
7777
let mut protocol_versions = HashMap::new();
7878
for (address, update) in &self.address_updates {
7979
let Some(weight) = self.address_weights.get(address) else {
@@ -94,7 +94,7 @@ impl GlobalStateEvaluator {
9494
return Some(version);
9595
}
9696
}
97-
return None;
97+
None
9898
}
9999

100100
/// Determine what the global burn view is if there is one
@@ -103,7 +103,7 @@ impl GlobalStateEvaluator {
103103
local_address: StacksAddress,
104104
local_update: StateMachineUpdateMessage,
105105
) -> Option<(ConsensusHash, u64)> {
106-
self.insert_update(local_address.clone(), local_update);
106+
self.insert_update(local_address, local_update);
107107
let mut burn_blocks = HashMap::new();
108108
for (address, update) in &self.address_updates {
109109
let Some(weight) = self.address_weights.get(address) else {

0 commit comments

Comments
 (0)