[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:
Sacha Lansky
2023-07-24 15:07:11 +02:00
committed by GitHub
parent 9f92437c8c
commit 187059860d
2 changed files with 6 additions and 0 deletions
+2
View File
@@ -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]
+4
View File
@@ -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;