Skip to content

Commit 8537ccc

Browse files
committed
Fix clippy
1 parent 265076e commit 8537ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/src/epoch/run_epoch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,7 @@ impl<T: Config> Pallet<T> {
16271627
// `iter_prefix` over a double map yields (uid, value) for the given first key.
16281628
for (_uid, hotkey) in Keys::<T>::iter_prefix(netuid) {
16291629
if !hotkey_set.insert(hotkey) {
1630-
log::error!("Duplicate hotkeys detected for netuid {}", netuid);
1630+
log::error!("Duplicate hotkeys detected for netuid {netuid}");
16311631
return false;
16321632
}
16331633
}

0 commit comments

Comments
 (0)