mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 14:01:06 +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:
@@ -35,7 +35,6 @@ use sp_runtime::{
|
||||
},
|
||||
};
|
||||
use std::{
|
||||
convert::{TryFrom, TryInto},
|
||||
io::Read,
|
||||
pin::Pin,
|
||||
task::Poll,
|
||||
|
||||
@@ -294,7 +294,7 @@ impl BasePath {
|
||||
}
|
||||
}
|
||||
|
||||
impl std::convert::From<PathBuf> for BasePath {
|
||||
impl From<PathBuf> for BasePath {
|
||||
fn from(path: PathBuf) -> Self {
|
||||
BasePath::new(path)
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
use std::{convert::TryFrom, time::SystemTime};
|
||||
use std::time::SystemTime;
|
||||
|
||||
use crate::config::Configuration;
|
||||
use futures_timer::Delay;
|
||||
|
||||
Reference in New Issue
Block a user