From 1b29ce0005884df678df595bd38d8fb5c705550d Mon Sep 17 00:00:00 2001 From: S E R A Y A Date: Tue, 8 Feb 2022 15:24:20 +0100 Subject: [PATCH] fixed regression in inline docs (#10819) --- substrate/frame/nicks/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/nicks/src/lib.rs b/substrate/frame/nicks/src/lib.rs index c7c2c675bc..632ff7b0a8 100644 --- a/substrate/frame/nicks/src/lib.rs +++ b/substrate/frame/nicks/src/lib.rs @@ -181,7 +181,7 @@ pub mod pallet { /// Remove an account's name and take charge of the deposit. /// - /// Fails if `who` has not been named. The deposit is dealt with through `T::Slashed` + /// Fails if `target` has not been named. The deposit is dealt with through `T::Slashed` /// imbalance handler. /// /// The dispatch origin for this call must match `T::ForceOrigin`.