fix nightly clippy (#1746)

This commit is contained in:
Svyatoslav Nikolsky
2023-01-09 13:35:35 +03:00
committed by Bastian Köcher
parent 7821e66bcd
commit a21617082e
+1 -1
View File
@@ -90,5 +90,5 @@ pub fn test_keyring() -> Vec<(Account, AuthorityWeight)> {
/// Get a list of "unique" accounts.
pub fn accounts(len: u16) -> Vec<Account> {
(0..len).into_iter().map(Account).collect()
(0..len).map(Account).collect()
}