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
@@ -187,7 +187,7 @@ decl_module! {
/// Fails if `who` has not been named. The deposit is dealt with through `T::Slashed`
/// imbalance handler.
///
/// The dispatch origin for this call must be _Root_ or match `T::ForceOrigin`.
/// The dispatch origin for this call must match `T::ForceOrigin`.
///
/// # <weight>
/// - O(1).
@@ -213,7 +213,7 @@ decl_module! {
///
/// No length checking is done on the name.
///
/// The dispatch origin for this call must be _Root_ or match `T::ForceOrigin`.
/// The dispatch origin for this call must match `T::ForceOrigin`.
///
/// # <weight>
/// - O(1).