mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
Improve spans of pallet macro (#7830)
* fix spans * convert name to snake case
This commit is contained in:
committed by
GitHub
parent
d2ac8bd941
commit
66a9093fa3
@@ -1399,8 +1399,9 @@ pub mod pallet_prelude {
|
||||
///
|
||||
/// ### Macro expansion
|
||||
///
|
||||
/// Macro generate struct with the name of the function and its generic, and implement
|
||||
/// `Get<$ReturnType>` on it using the provided function block.
|
||||
/// Macro renames the function to some internal name, generate a struct with the original name of
|
||||
/// the function and its generic, and implement `Get<$ReturnType>` by calling the user defined
|
||||
/// function.
|
||||
///
|
||||
/// # Genesis config: `#[pallet::genesis_config]` optional
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user