mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-09 20:27:06 +00:00
Improve spans of pallet macro (#7830)
* fix spans * convert name to snake case
This commit is contained in:
1 parent
d2ac8bd941
commit
66a9093fa3
27 files changed
+303
-144
No files matched your search
@@ -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