Skip to content
Snippets Groups Projects
Commit 18705986 authored by Sacha Lansky's avatar Sacha Lansky Committed by GitHub
Browse files

[fix lint warnings: Uniques pallet] fix clippy::missing_docs_in_private_items warnings (#14591)

* Fix clippy::missing_docs_in_private_items

* Fix clippy::missing_docs_in_private_items

---------

Co-authored-by: parity-processbot <>
parent 9f92437c
No related merge requests found
......@@ -57,8 +57,10 @@ pub use pallet::*;
pub use types::*;
pub use weights::WeightInfo;
/// The log target for this pallet.
const LOG_TARGET: &str = "runtime::uniques";
/// A type alias for the account ID type used in the dispatchable functions of this pallet.
type AccountIdLookupOf<T> = <<T as frame_system::Config>::Lookup as StaticLookup>::Source;
#[frame_support::pallet]
......
......@@ -24,12 +24,16 @@ use frame_support::{
};
use scale_info::TypeInfo;
/// A type alias for handling balance deposits.
pub(super) type DepositBalanceOf<T, I = ()> =
<<T as Config<I>>::Currency as Currency<<T as SystemConfig>::AccountId>>::Balance;
/// A type alias representing the details of a collection.
pub(super) type CollectionDetailsFor<T, I> =
CollectionDetails<<T as SystemConfig>::AccountId, DepositBalanceOf<T, I>>;
/// A type alias for the details of a single item.
pub(super) type ItemDetailsFor<T, I> =
ItemDetails<<T as SystemConfig>::AccountId, DepositBalanceOf<T, I>>;
/// A type alias to represent the price of an item.
pub(super) type ItemPrice<T, I = ()> =
<<T as Config<I>>::Currency as Currency<<T as SystemConfig>::AccountId>>::Balance;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment