Switch to edition 2021 (#4976)

* Switch to edition 2021

* Reset bridges

* Fix compilation

* Fix test-runtime

* Fix malus
This commit is contained in:
Bastian Köcher
2022-02-24 11:20:58 +01:00
committed by GitHub
parent 1ea0f60a72
commit d9d53c17a1
81 changed files with 86 additions and 90 deletions
-1
View File
@@ -47,7 +47,6 @@ use sp_core::crypto::Pair as _;
use super::*;
fn block_info_to_pair(blocks: impl IntoIterator<Item = BlockInfo>) -> Vec<(Hash, BlockNumber)> {
use std::iter::FromIterator;
Vec::from_iter(
blocks
.into_iter()