mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 05:47:58 +00:00
Hide metadata function for in decl_event, and add doc for GenesisConfig (#5431)
* hide metadata function for non generic event * add doc for decl_storage
This commit is contained in:
@@ -288,6 +288,7 @@ macro_rules! __decl_generic_event {
|
||||
}
|
||||
impl<$( $generic_param ),* $(, $instance)?> RawEvent<$( $generic_param ),* $(, $instance)?> {
|
||||
#[allow(dead_code)]
|
||||
#[doc(hidden)]
|
||||
pub fn metadata() -> &'static [$crate::event::EventMetadata] {
|
||||
$crate::__events_to_metadata!(; $( $events )* )
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user