Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bennethxyz committed Jan 4, 2025
1 parent e3cefc5 commit 84ada28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions substrate/frame/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ pub mod prelude {
#[doc(no_inline)]
pub use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo};
pub use frame_support::traits::{
Contains, EstimateNextSessionRotation, Everything, InsideBoth, InstanceFilter, IsSubType, OnRuntimeUpgrade,
VariantCount, VariantCountOf, OneSessionHandler,
Contains, EstimateNextSessionRotation, Everything, InsideBoth, InstanceFilter, IsSubType,
OnRuntimeUpgrade, OneSessionHandler, VariantCount, VariantCountOf,
};

/// Pallet prelude of `frame-system`.
Expand Down Expand Up @@ -238,7 +238,8 @@ pub mod prelude {

/// Other runtime types and traits
#[doc(no_inline)]
pub use sp_runtime::{BoundToRuntimeAppPublic,
pub use sp_runtime::{
BoundToRuntimeAppPublic,
DispatchError::{self, BadOrigin},
DispatchErrorWithPostInfo, DispatchResultWithInfo, TokenError,
};
Expand Down
2 changes: 1 addition & 1 deletion substrate/frame/tips/src/migrations/unreserve_deposits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub trait UnlockConfig<I>: 'static {
/// Should match the currency type previously used for the pallet, if applicable.
type DataDepositPerByte: Get<BalanceOf<Self, I>>;
/// The name of the pallet as previously configured in
/// [`construct_runtime!`](frame_support::construct_runtime).
/// [`construct_runtime!`](construct_runtime).
type PalletName: Get<&'static str>;
/// The DB weight as configured in the runtime to calculate the correct weight.
type DbWeight: Get<weights::RuntimeDbWeight>;
Expand Down

0 comments on commit 84ada28

Please sign in to comment.