summaryrefslogtreecommitdiff
path: root/macros/src/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src/node.rs')
-rw-r--r--macros/src/node.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/src/node.rs b/macros/src/node.rs
index 14856074..dfbd9078 100644
--- a/macros/src/node.rs
+++ b/macros/src/node.rs
@@ -433,19 +433,19 @@ fn create_construct_impl(node: &Node) -> TokenStream {
&& (!field.internal || field.parse.is_some())
})
.map(|field| {
- let with_ident = &field.with_ident;
+ let push_ident = &field.push_ident;
let (prefix, value) = create_field_parser(field);
if field.settable() {
quote! {
#prefix
if let Some(value) = #value {
- node = node.#with_ident(value);
+ node.#push_ident(value);
}
}
} else {
quote! {
#prefix
- node = node.#with_ident(#value);
+ node.#push_ident(#value);
}
}
});