Skip to content

Commit 93233fc

Browse files
committed
clippy
1 parent bc1631e commit 93233fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/src/swap/swap_coldkey.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ impl<T: Config> Pallet<T> {
5050
weight = weight.saturating_add(T::DbWeight::get().reads(1));
5151

5252
// 5. Swap the identity if the old coldkey has one
53-
if let Some(identity) = Identities::<T>::take(&old_coldkey) {
53+
if let Some(identity) = Identities::<T>::take(old_coldkey) {
5454
Identities::<T>::insert(new_coldkey, identity);
5555
}
5656

0 commit comments

Comments
 (0)