Flatten some structures.
This commit is contained in:
@@ -15,6 +15,7 @@ use crate::wasm::to_wasm::ToWasmStandardProperties;
|
||||
#[serde(rename = "section")]
|
||||
pub struct WasmSection<'s, 'p> {
|
||||
pub(crate) standard_properties: WasmStandardProperties,
|
||||
#[serde(flatten)]
|
||||
pub(crate) additional_properties: AdditionalProperties<'s, 'p>,
|
||||
pub(crate) children: Vec<WasmAstNode<'s, 'p>>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user