Typo + some clippy stuff (unnecessary clone/to_string/refs) + fmt (#1437)

This commit is contained in:
Branislav Kontur
2022-07-11 13:05:40 +02:00
committed by GitHub
parent 0914a2dac4
commit c623784f13
19 changed files with 46 additions and 56 deletions
+1 -1
View File
@@ -898,7 +898,7 @@ impl<T: Config> Pallet<T> {
running_mqc_heads
.entry(sender)
.or_insert_with(|| last_mqc_heads.get(&sender).cloned().unwrap_or_default())
.or_insert_with(|| last_mqc_heads.get(sender).cloned().unwrap_or_default())
.extend_hrmp(horizontal_message);
}
}