mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-20 08:11:02 +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 ] )*
|
$( #[ $attr:meta ] )*
|
||||||
pub struct $name:ident {
|
pub struct $name:ident {
|
||||||
$(
|
$(
|
||||||
|
$( #[ $inner_attr:meta ] )*
|
||||||
pub $field:ident: $type:ty,
|
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))]
|
#[cfg_attr(feature = "std", derive($crate::serde::Serialize, $crate::serde::Deserialize))]
|
||||||
pub struct $name {
|
pub struct $name {
|
||||||
$(
|
$(
|
||||||
|
$( #[ $inner_attr ] )*
|
||||||
pub $field: <$type as $crate::BoundToRuntimeAppPublic>::Public,
|
pub $field: <$type as $crate::BoundToRuntimeAppPublic>::Public,
|
||||||
)*
|
)*
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user