Remove lifetimes from wasm ast nodes.
This commit is contained in:
@@ -10,13 +10,13 @@ use crate::wasm::WasmAstNode;
|
||||
#[derive(Debug, Serialize)]
|
||||
#[serde(tag = "ast_node")]
|
||||
#[serde(rename = "org-data")]
|
||||
pub struct WasmFixedWidthArea<'s, 'p> {
|
||||
pub struct WasmFixedWidthArea {
|
||||
standard_properties: WasmStandardProperties,
|
||||
children: Vec<WasmAstNode<'s, 'p>>,
|
||||
children: Vec<WasmAstNode>,
|
||||
}
|
||||
|
||||
to_wasm!(
|
||||
WasmFixedWidthArea<'s, 'p>,
|
||||
WasmFixedWidthArea,
|
||||
FixedWidthArea<'s>,
|
||||
original,
|
||||
wasm_context,
|
||||
@@ -29,8 +29,8 @@ to_wasm!(
|
||||
}
|
||||
);
|
||||
|
||||
impl<'s, 'p> Into<WasmAstNode<'s, 'p>> for WasmFixedWidthArea<'s, 'p> {
|
||||
fn into(self) -> WasmAstNode<'s, 'p> {
|
||||
impl Into<WasmAstNode> for WasmFixedWidthArea {
|
||||
fn into(self) -> WasmAstNode {
|
||||
WasmAstNode::FixedWidthArea(self)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user