From fe18b4055d345cbc04f3227805e8f69f7fc7e9b0 Mon Sep 17 00:00:00 2001 From: Logan Saether Date: Thu, 8 Aug 2019 15:08:14 +0200 Subject: [PATCH] Fix documentation set_controller (#3340) The documentation for the `set_controller` function was copied from the function above it, however it does not do the same thing. Fixed the documentation to fit the correct description of what `set_controller` does. --- substrate/srml/staking/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/srml/staking/src/lib.rs b/substrate/srml/staking/src/lib.rs index e8fd4501a9..0d2ba102d1 100644 --- a/substrate/srml/staking/src/lib.rs +++ b/substrate/srml/staking/src/lib.rs @@ -952,7 +952,7 @@ decl_module! { >::insert(stash, payee); } - /// (Re-)set the payment target for a controller. + /// (Re-)set the controller of a stash. /// /// Effects will be felt at the beginning of the next era. ///