diff --git a/primitives/test-utils/src/keyring.rs b/primitives/test-utils/src/keyring.rs index f827c72943..8b7a2b3925 100644 --- a/primitives/test-utils/src/keyring.rs +++ b/primitives/test-utils/src/keyring.rs @@ -90,5 +90,5 @@ pub fn test_keyring() -> Vec<(Account, AuthorityWeight)> { /// Get a list of "unique" accounts. pub fn accounts(len: u16) -> Vec { - (0..len).into_iter().map(Account).collect() + (0..len).map(Account).collect() }