remove unnessisary use statements due to 2021 core prelude (#4183)

Some traits are already included in the 2021 prelude and so shouldn't be
needed to use explicitly:

use `convert::TryFrom`, `convert::TryInto`, and `iter::FromIterator` are
removed.

( https://doc.rust-lang.org/core/prelude/rust_2021/ )

No breaking changes or change of functionality, so I think no PR doc is
needed in this case.

(Motivation: Removes some references to `sp-std`)
This commit is contained in:
Squirrel authored and GitHub committed 2024-04-28 15:29:21 +00:00
1 parent 73b9a8391f
commit 954150f3b5
56 files changed
+46 -82

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ use frame_support::{traits::Get, weights::Weight};
use hash_db::Hasher;
use scale_info::TypeInfo;
use sp_runtime::RuntimeDebug;
use sp_std::{convert::TryFrom, marker::PhantomData, vec::Vec};
use sp_std::{marker::PhantomData, vec::Vec};
/// Bidirectional message bridge.
pub trait MessageBridge {