From 34387ce618ee60b3b0f2224aeb1fb15dd3fd9b51 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Wed, 08 Sep 2021 07:47:40 +0000 Subject: [PATCH] style: fix fmt warnings --- --- a/crates/evm-coder/tests/a.rs +++ b/crates/evm-coder/tests/a.rs @@ -2,7 +2,6 @@ use evm_coder::{solidity_interface, types::*, ToLog, execution::Result}; use evm_coder_macros::solidity; -use std as sp_std; struct Impls; --- a/pallets/scheduler/src/lib.rs +++ b/pallets/scheduler/src/lib.rs @@ -794,8 +794,8 @@ use super::*; use frame_support::{ - parameter_types, assert_ok, ord_parameter_types, assert_noop, assert_err, Hashable, - traits::{OnInitialize, OnFinalize, Filter}, + Hashable, assert_err, assert_noop, assert_ok, ord_parameter_types, parameter_types, + traits::{Contains, Filter, OnFinalize, OnInitialize}, weights::constants::RocksDbWeight, }; use sp_core::H256; --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -54,7 +54,6 @@ WeightToFeePolynomial, WeightToFeeCoefficient, WeightToFeeCoefficients, }, }; -use xcm_executor::traits::InvertLocation; use nft_data_structs::*; // use pallet_contracts::weights::WeightInfo; // #[cfg(any(feature = "std", test))] @@ -80,8 +79,7 @@ // Polkadot imports use pallet_xcm::XcmPassthrough; use polkadot_parachain::primitives::Sibling; -use xcm::v0::Xcm; -use xcm::v0::{BodyId, Junction::*, MultiAsset, MultiLocation, MultiLocation::*, NetworkId}; +use xcm::v0::{BodyId, Junction::*, MultiLocation, MultiLocation::*, NetworkId}; use xcm_builder::{ AccountId32Aliases, AllowTopLevelPaidExecutionFrom, AllowUnpaidExecutionFrom, CurrencyAdapter, EnsureXcmOrigin, FixedWeightBounds, IsConcrete, LocationInverter, NativeAsset, -- gitstuff