Skip to content

Commit 180ef72

Browse files
authored
Update stale docstring with 'EnsureOneOf' introduced. (#6501)
* Update stale docstring with 'EnsureOneOf' introduced. * Apply review suggestions.
1 parent 8ca38c9 commit 180ef72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ decl_module! {
622622

623623
/// Add a registrar to the system.
624624
///
625-
/// The dispatch origin for this call must be `RegistrarOrigin` or `Root`.
625+
/// The dispatch origin for this call must be `T::RegistrarOrigin`.
626626
///
627627
/// - `account`: the account of the registrar.
628628
///
@@ -1087,7 +1087,7 @@ decl_module! {
10871087
/// `Slash`. Verification request deposits are not returned; they should be cancelled
10881088
/// manually using `cancel_request`.
10891089
///
1090-
/// The dispatch origin for this call must be _Root_ or match `T::ForceOrigin`.
1090+
/// The dispatch origin for this call must match `T::ForceOrigin`.
10911091
///
10921092
/// - `target`: the account whose identity the judgement is upon. This must be an account
10931093
/// with a registered identity.

0 commit comments

Comments
 (0)