mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 22:01:04 +00:00
Fix doc build with --all-features (#8277)
* implement * make default pre/post_upgrade * simplify Cargo.toml * revert removal of outdated/private links * link in pallet-mmr
This commit is contained in:
committed by
GitHub
parent
d0530d0f2a
commit
9c4e4d453c
@@ -49,7 +49,7 @@ pub fn generate_voter_cache<T: Config>(
|
||||
|
||||
/// Create a function the returns the index a voter in the snapshot.
|
||||
///
|
||||
/// The returning index type is the same as the one defined in [`T::CompactSolution::Voter`].
|
||||
/// The returning index type is the same as the one defined in `T::CompactSolution::Voter`.
|
||||
///
|
||||
/// ## Warning
|
||||
///
|
||||
@@ -92,7 +92,7 @@ pub fn voter_index_fn_linear<T: Config>(
|
||||
|
||||
/// Create a function the returns the index a targets in the snapshot.
|
||||
///
|
||||
/// The returning index type is the same as the one defined in [`T::CompactSolution::Target`].
|
||||
/// The returning index type is the same as the one defined in `T::CompactSolution::Target`.
|
||||
pub fn target_index_fn_linear<T: Config>(
|
||||
snapshot: &Vec<T::AccountId>,
|
||||
) -> Box<dyn Fn(&T::AccountId) -> Option<CompactTargetIndexOf<T>> + '_> {
|
||||
|
||||
Reference in New Issue
Block a user