Skip to content
Snippets Groups Projects
Commit 7f1f811c authored by Demi Obenour's avatar Demi Obenour Committed by GitHub
Browse files

impl_opaque_keys should allow doc comments (#6255)

parent 8f5a52fe
No related merge requests found
......@@ -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,
)*
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment