mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
[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 <>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user