Skip to content

Commit a54ec37

Browse files
committed
cargo clippy
1 parent 0299a83 commit a54ec37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/src/staking/remove_stake.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ impl<T: Config> Pallet<T> {
492492
for hot in hotkeys_in_subnet.iter() {
493493
for ((cold, _), share_u64f64) in Alpha::<T>::iter_prefix((hot,)) {
494494
keys_to_remove.push((hot.clone(), cold.clone()));
495-
if !hotkeys_seen.contains(&hot) {
495+
if !hotkeys_seen.contains(hot) {
496496
hotkeys_seen.push(hot.clone());
497497
}
498498

0 commit comments

Comments
 (0)