From 055e7db1a56778c13854dbf019bea1bf629bd5ab Mon Sep 17 00:00:00 2001 From: Harald Heckmann Date: Sat, 27 May 2023 11:28:00 +0200 Subject: [PATCH] Update MutationHooks docstrings (#918) --- traits/src/currency.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/traits/src/currency.rs b/traits/src/currency.rs index 8c391f604..0d50e7477 100644 --- a/traits/src/currency.rs +++ b/traits/src/currency.rs @@ -692,7 +692,7 @@ impl OnTransfer } pub trait MutationHooks { - /// Handler to burn or transfer account's dust + /// Handler to burn or transfer account's dust. type OnDust: OnDust; /// Hook to run before slashing an account. @@ -710,10 +710,10 @@ pub trait MutationHooks { /// Hook to run after transferring from an account to another. type PostTransfer: OnTransfer; - /// Handler for when an account was created + /// Handler for when an account was created. type OnNewTokenAccount: Happened<(AccountId, CurrencyId)>; - /// Handler for when an account was created + /// Handler for when an account was killed. type OnKilledTokenAccount: Happened<(AccountId, CurrencyId)>; }