Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KiChjang committed Sep 13, 2022
1 parent 586417b commit 472cb24
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
6 changes: 1 addition & 5 deletions runtime/common/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,7 @@ where
mod tests {
use super::*;
use frame_support::{
dispatch::DispatchClass,
parameter_types,
traits::FindAuthor,
weights::Weight,
PalletId,
dispatch::DispatchClass, parameter_types, traits::FindAuthor, weights::Weight, PalletId,
};
use frame_system::limits;
use primitives::v2::AccountId;
Expand Down
5 changes: 4 additions & 1 deletion xcm/pallet-xcm-benchmarks/src/generic/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ mod mock;
#[frame_support::pallet]
pub mod pallet {
use frame_benchmarking::BenchmarkError;
use frame_support::{dispatch::{Dispatchable, GetDispatchInfo}, pallet_prelude::Encode};
use frame_support::{
dispatch::{Dispatchable, GetDispatchInfo},
pallet_prelude::Encode,
};
use xcm::latest::{MultiAssets, MultiLocation, Response};

#[pallet::config]
Expand Down
5 changes: 4 additions & 1 deletion xcm/xcm-executor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@

#![cfg_attr(not(feature = "std"), no_std)]

use frame_support::{dispatch::{Dispatchable, GetDispatchInfo}, ensure};
use frame_support::{
dispatch::{Dispatchable, GetDispatchInfo},
ensure,
};
use sp_runtime::traits::Saturating;
use sp_std::{marker::PhantomData, prelude::*};
use xcm::latest::{
Expand Down

0 comments on commit 472cb24

Please sign in to comment.