Skip to content

Commit

Permalink
Make clippy happy.
Browse files Browse the repository at this point in the history
  • Loading branch information
alin-at-dfinity committed Oct 3, 2024
1 parent fe0244c commit 228adfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rs/replicated_state/src/replicated_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -956,7 +956,7 @@ impl ReplicatedState {
.filter_map(|(canister_id, canister)| {
let memory_usage = canister.system_state.best_effort_message_memory_usage();
if memory_usage > ZERO {
Some((memory_usage, canister_id.clone()))
Some((memory_usage, *canister_id))
} else {
None
}
Expand Down

0 comments on commit 228adfd

Please sign in to comment.