Skip to content

Commit 09e1e49

Browse files
bkchrshawntabrizi
andauthored
Move IsSubType and write some docs for the trait (#7350)
* Move `IsSubType` and write some docs for the trait This moves the `IsSubType` trait from dispatch.rs to traits.rs. It also adds docs to make the trait better understandable. * Update frame/support/src/traits.rs Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]>
1 parent b684a61 commit 09e1e49

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
@@ -294,12 +294,12 @@ use frame_support::{
294294
weights::{Weight, constants::{WEIGHT_PER_MICROS, WEIGHT_PER_NANOS}},
295295
storage::IterableStorageMap,
296296
dispatch::{
297-
IsSubType, DispatchResult, DispatchResultWithPostInfo, DispatchErrorWithPostInfo,
297+
DispatchResult, DispatchResultWithPostInfo, DispatchErrorWithPostInfo,
298298
WithPostDispatchInfo,
299299
},
300300
traits::{
301301
Currency, LockIdentifier, LockableCurrency, WithdrawReasons, OnUnbalanced, Imbalance, Get,
302-
UnixTime, EstimateNextNewSession, EnsureOrigin, CurrencyToVote,
302+
UnixTime, EstimateNextNewSession, EnsureOrigin, CurrencyToVote, IsSubType,
303303
}
304304
};
305305
use pallet_session::historical;

0 commit comments

Comments
 (0)