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:
Qinxuan Chen authored and GitHub committed 2022-04-03 21:44:29 +02:00
1 parent 98ed4afe45
commit 41c84b0b41
91 files changed
+81 -176

No files matched your search

-1
View File
@@ -26,7 +26,6 @@ use nix::{
use node_primitives::Block;
use remote_externalities::rpc_api;
use std::{
convert::TryInto,
ops::{Deref, DerefMut},
path::Path,
process::{Child, Command, ExitStatus},
@@ -25,10 +25,7 @@ use nix::{
},
unistd::Pid,
};
use std::{
convert::TryInto,
process::{Child, Command},
};
use std::process::{Child, Command};
use tempfile::tempdir;
pub mod common;
+1 -1
View File
@@ -21,7 +21,7 @@ use nix::{
sys::signal::{kill, Signal::SIGINT},
unistd::Pid,
};
use std::{convert::TryInto, process};
use std::process;
pub mod common;
pub mod websocket_server;
@@ -25,7 +25,6 @@ use nix::{
};
use regex::Regex;
use std::{
convert::TryInto,
io::Read,
path::PathBuf,
process::{Command, Stdio},