Update stale docstring with 'EnsureOneOf' introduced. (#6501)

* Update stale docstring with 'EnsureOneOf' introduced.

* Apply review suggestions.
This commit is contained in:
Shaopeng Wang
2020-06-25 21:33:47 +12:00
committed by GitHub
parent 44fb311f1f
commit 1813ba215e
6 changed files with 20 additions and 12 deletions
+2 -2
View File
@@ -308,7 +308,7 @@ decl_module! {
/// Kick a member `who` from the set.
///
/// May only be called from `KickOrigin` or root.
/// May only be called from `T::KickOrigin`.
///
/// The `index` parameter of this function must be set to
/// the index of `dest` in the `Pool`.
@@ -331,7 +331,7 @@ decl_module! {
/// Score a member `who` with `score`.
///
/// May only be called from `ScoreOrigin` or root.
/// May only be called from `T::ScoreOrigin`.
///
/// The `index` parameter of this function must be set to
/// the index of the `dest` in the `Pool`.