Skip to content

Commit

Permalink
Add documentation around pallet coupling (paritytech#3542)
Browse files Browse the repository at this point in the history
substrate.io deprecation companion:
polkadot-developers/substrate-docs#2139
pba-content companion:
Polkadot-Blockchain-Academy/pba-content#978

partially inspired by:
paritytech#3535

---------

Co-authored-by: Ankan <[email protected]>
  • Loading branch information
kianenigma and Ank4n authored Mar 7, 2024
1 parent f7e6349 commit 192c4ee
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions substrate/frame/support/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1531,9 +1531,8 @@ pub mod pallet_macros {
/// The attribute currently only supports enum definitions, and identifiers that are named
/// `FreezeReason`, `HoldReason`, `LockId` or `SlashReason`. Arbitrary identifiers for the
/// enum are not supported. The aggregate enum generated by
/// [`frame_support::construct_runtime`](frame_support::construct_runtime) will have the
/// name of `RuntimeFreezeReason`, `RuntimeHoldReason`, `RuntimeLockId` and
/// `RuntimeSlashReason` respectively.
/// [`frame_support::construct_runtime`] will have the name of `RuntimeFreezeReason`,
/// `RuntimeHoldReason`, `RuntimeLockId` and `RuntimeSlashReason` respectively.
///
/// NOTE: The aggregate enum generated by `construct_runtime` generates a conversion
/// function from the pallet enum to the aggregate enum, and automatically derives the
Expand Down

0 comments on commit 192c4ee

Please sign in to comment.