mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 17:11:02 +00:00
Fix test-rustdoc (#1266)
* Fix `test-rustdoc` * ".git/.scripts/commands/fmt/fmt.sh" --------- Co-authored-by: command-bot <>
This commit is contained in:
@@ -63,9 +63,9 @@ pub mod v1 {
|
||||
}
|
||||
}
|
||||
|
||||
/// [`VersionUncheckedMigrateToV1`] wrapped in a
|
||||
/// [`frame_support::migrations::VersionedRuntimeUpgrade`], ensuring the migration is only
|
||||
/// performed when on-chain version is 0.
|
||||
/// [`MigrateToV1`] wrapped in a
|
||||
/// [`VersionedRuntimeUpgrade`](frame_support::migrations::VersionedRuntimeUpgrade), ensuring
|
||||
/// the migration is only performed when on-chain version is 0.
|
||||
#[cfg(feature = "experimental")]
|
||||
pub type VersionCheckedMigrateToV1<T> = frame_support::migrations::VersionedRuntimeUpgrade<
|
||||
0,
|
||||
|
||||
@@ -18,7 +18,8 @@
|
||||
|
||||
/// Implements the weight types for the elections module and a specific
|
||||
/// runtime.
|
||||
/// This macro should not be called directly; use [`impl_runtime_weights`] instead.
|
||||
/// This macro should not be called directly; use
|
||||
/// [`impl_runtime_weights`](crate::impl_runtime_weights!) instead.
|
||||
#[macro_export]
|
||||
macro_rules! impl_elections_weights {
|
||||
($runtime:ident) => {
|
||||
|
||||
@@ -100,7 +100,7 @@ parameter_types! {
|
||||
}
|
||||
|
||||
/// Parameterized slow adjusting fee updated based on
|
||||
/// https://research.web3.foundation/Polkadot/overview/token-economics#2-slow-adjusting-mechanism
|
||||
/// <https://research.web3.foundation/Polkadot/overview/token-economics#2-slow-adjusting-mechanism>
|
||||
pub type SlowAdjustingFeeUpdate<R> = TargetedFeeAdjustment<
|
||||
R,
|
||||
TargetBlockFullness,
|
||||
|
||||
@@ -132,7 +132,7 @@ pub mod pallet {
|
||||
#[pallet::event]
|
||||
#[pallet::generate_deposit(pub(super) fn deposit_event)]
|
||||
pub enum Event<T: Config> {
|
||||
/// A [new] account was created.
|
||||
/// A new account was created.
|
||||
AccountCreated { who: T::AccountId },
|
||||
/// Someone's account validity was updated.
|
||||
ValidityUpdated { who: T::AccountId, validity: AccountValidity },
|
||||
|
||||
Reference in New Issue
Block a user