Prepare for latest clippy (nightly 09-10-2022) (#12466)

This commit is contained in:
Bastian Köcher authored and GitHub committed 2022-10-18 10:07:02 +00:00
1 parent 8671fb7615
commit 738dc8460e
15 files changed
+28 -32

No files matched your search

+1 -1
View File
@@ -516,7 +516,7 @@ where
) -> sp_blockchain::Result<Block::Hash> {
check_genesis_storage(&storage)?;
let child_delta = storage.children_default.iter().map(|(_storage_key, child_content)| {
let child_delta = storage.children_default.values().map(|child_content| {
(
&child_content.child_info,
child_content.data.iter().map(|(k, v)| (k.as_ref(), Some(v.as_ref()))),