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

* Update stale docstring with 'EnsureOneOf' introduced.

* Apply review suggestions.
This commit is contained in:
Shaopeng Wang authored and GitHub committed 2020-06-25 11:33:47 +02:00
1 parent 44fb311f1f
commit 1813ba215e
6 files changed
+20 -12

No files matched your search

+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).