mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
Fix doc for ChangeMember trait (#7396)
* fix doc * Update frame/support/src/traits.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
500b10de41
commit
e2a15b0b50
@@ -1268,8 +1268,9 @@ pub trait ChangeMembers<AccountId: Clone + Ord> {
|
||||
Self::change_members_sorted(&incoming[..], &outgoing[..], &new_members);
|
||||
}
|
||||
|
||||
/// Set the new members; they **must already be sorted**. This will compute the diff and use it to
|
||||
/// call `change_members_sorted`.
|
||||
/// Compute diff between new and old members; they **must already be sorted**.
|
||||
///
|
||||
/// Returns incoming and outgoing members.
|
||||
fn compute_members_diff(
|
||||
new_members: &[AccountId],
|
||||
old_members: &[AccountId]
|
||||
|
||||
Reference in New Issue
Block a user