mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 12:11:09 +00:00
Remove useless imports (#11136)
Because `TryInto`/`TryFrom` are in prelude by default from edition 2021 Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -24,7 +24,6 @@ use proc_macro::TokenStream;
|
||||
use proc_macro2::{Span, TokenStream as TokenStream2};
|
||||
use proc_macro_crate::{crate_name, FoundCrate};
|
||||
use quote::{quote, ToTokens};
|
||||
use std::convert::TryInto;
|
||||
use syn::parse::{Parse, ParseStream};
|
||||
|
||||
/// Accepts a number of expressions to create a instance of PiecewiseLinear which represents the
|
||||
|
||||
@@ -316,7 +316,7 @@ use sp_staking::{
|
||||
offence::{Offence, OffenceError, ReportOffence},
|
||||
EraIndex, SessionIndex,
|
||||
};
|
||||
use sp_std::{collections::btree_map::BTreeMap, convert::From, prelude::*};
|
||||
use sp_std::{collections::btree_map::BTreeMap, prelude::*};
|
||||
pub use weights::WeightInfo;
|
||||
|
||||
pub use pallet::{pallet::*, *};
|
||||
|
||||
@@ -33,7 +33,7 @@ use sp_runtime::{
|
||||
DispatchError, Perbill, Percent,
|
||||
};
|
||||
use sp_staking::{EraIndex, SessionIndex};
|
||||
use sp_std::{cmp::max, convert::From, prelude::*};
|
||||
use sp_std::{cmp::max, prelude::*};
|
||||
|
||||
mod impls;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user