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
2022-04-04 03:44:29 +08:00
committed by GitHub
parent 98ed4afe45
commit 41c84b0b41
91 changed files with 81 additions and 176 deletions
-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},