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:
Guillaume Thiolliere
2020-10-26 19:32:12 +01:00
committed by GitHub
parent 500b10de41
commit e2a15b0b50
+3 -2
View File
@@ -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]