fix: remove undeclared attribute child

This commit is contained in:
Marc-Antoine Arnaud 2024-02-03 08:06:11 +01:00
parent 9c2d04b0af
commit 8fd8e9d361

View File

@ -196,7 +196,6 @@ fn flatten_attribute_and_child() {
struct Node {
#[yaserde(flatten)]
base: Base,
#[yaserde(child)]
value: StringValue,
}
@ -235,7 +234,6 @@ fn flatten_name_in_unknown_child() {
pub struct Node {
#[yaserde(flatten)]
base: Base,
#[yaserde(child)]
value: Value,
}