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
2024-04-28 16:29:21 +01:00
committed by GitHub
parent 73b9a8391f
commit 954150f3b5
56 changed files with 46 additions and 82 deletions
@@ -2,7 +2,7 @@
name = "pallet-example-frame-crate"
version = "0.0.1"
authors = ["Parity Technologies <admin@parity.io>"]
edition = "2021"
edition.workspace = true
license = "MIT-0"
homepage = "https://substrate.io"
repository.workspace = true