mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 12:48:00 +00:00
impl_opaque_keys should allow doc comments (#6255)
This commit is contained in:
@@ -1157,6 +1157,7 @@ macro_rules! impl_opaque_keys {
|
||||
$( #[ $attr:meta ] )*
|
||||
pub struct $name:ident {
|
||||
$(
|
||||
$( #[ $inner_attr:meta ] )*
|
||||
pub $field:ident: $type:ty,
|
||||
)*
|
||||
}
|
||||
@@ -1171,6 +1172,7 @@ macro_rules! impl_opaque_keys {
|
||||
#[cfg_attr(feature = "std", derive($crate::serde::Serialize, $crate::serde::Deserialize))]
|
||||
pub struct $name {
|
||||
$(
|
||||
$( #[ $inner_attr ] )*
|
||||
pub $field: <$type as $crate::BoundToRuntimeAppPublic>::Public,
|
||||
)*
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user