mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 14:41:11 +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:
@@ -50,7 +50,6 @@ use sp_runtime::traits::Block as BlockT;
|
||||
use std::{
|
||||
borrow::Cow,
|
||||
collections::HashMap,
|
||||
convert::TryFrom,
|
||||
error::Error,
|
||||
fs,
|
||||
future::Future,
|
||||
|
||||
@@ -60,7 +60,6 @@ use sp_runtime::{
|
||||
use std::{
|
||||
borrow::Cow,
|
||||
collections::{HashMap, HashSet, VecDeque},
|
||||
convert::TryFrom as _,
|
||||
io, iter,
|
||||
num::NonZeroUsize,
|
||||
pin::Pin,
|
||||
|
||||
@@ -41,7 +41,7 @@ use libp2p::core::{upgrade, InboundUpgrade, OutboundUpgrade, UpgradeInfo};
|
||||
use log::{error, warn};
|
||||
use std::{
|
||||
borrow::Cow,
|
||||
convert::{Infallible, TryFrom as _},
|
||||
convert::Infallible,
|
||||
io, mem,
|
||||
pin::Pin,
|
||||
task::{Context, Poll},
|
||||
|
||||
@@ -56,7 +56,6 @@ use libp2p::{
|
||||
use std::{
|
||||
borrow::Cow,
|
||||
collections::{hash_map::Entry, HashMap},
|
||||
convert::TryFrom as _,
|
||||
io, iter,
|
||||
pin::Pin,
|
||||
task::{Context, Poll},
|
||||
|
||||
@@ -73,7 +73,6 @@ use std::{
|
||||
borrow::Cow,
|
||||
cmp,
|
||||
collections::{HashMap, HashSet},
|
||||
convert::TryFrom as _,
|
||||
fs, iter,
|
||||
marker::PhantomData,
|
||||
num::NonZeroUsize,
|
||||
|
||||
@@ -38,7 +38,6 @@ use parking_lot::Mutex;
|
||||
use prometheus_endpoint::{register, CounterVec, GaugeVec, Opts, PrometheusError, Registry, U64};
|
||||
use std::{
|
||||
cell::RefCell,
|
||||
convert::TryFrom as _,
|
||||
fmt,
|
||||
pin::Pin,
|
||||
sync::Arc,
|
||||
|
||||
Reference in New Issue
Block a user