Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
AurevoirXavier committed Dec 21, 2024
1 parent d5b22b5 commit 4537102
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion substrate/frame/balances/src/benchmarking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#![cfg(feature = "runtime-benchmarks")]

use super::{*, Pallet as Balances};
use super::{Pallet as Balances, *};
use frame::benchmarking::prelude::*;

const SEED: u32 = 0;
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/balances/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use super::*;
use core::ops::BitOr;
use frame::traits::{WithdrawReasons, LockIdentifier, Imbalance};
use frame::traits::{Imbalance, LockIdentifier, WithdrawReasons};

/// Simplified reasons for withdrawing balance.
#[derive(Encode, Decode, Clone, Copy, PartialEq, Eq, RuntimeDebug, MaxEncodedLen, TypeInfo)]
Expand Down
3 changes: 2 additions & 1 deletion substrate/frame/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ pub mod runtime {
/// Primary types used to parameterize `EnsureOrigin` and `EnsureRootWithArg`.
pub use frame_system::{
EnsureNever, EnsureNone, EnsureRoot, EnsureRootWithSuccess, EnsureSigned,
EnsureSignedBy, RawOrigin,
EnsureSignedBy,
};

/// Types to define your runtime version.
Expand All @@ -416,6 +416,7 @@ pub mod runtime {
pub use sp_api::impl_runtime_apis;

// Types often used in the runtime APIs.
pub use frame_system::RawOrigin;
pub use sp_core::OpaqueMetadata;
pub use sp_genesis_builder::{
PresetId, Result as GenesisBuilderResult, DEV_RUNTIME_PRESET,
Expand Down

0 comments on commit 4537102

Please sign in to comment.