macros: Merge generate_element_with_children!() into generate_element!().
This commit is contained in:
parent
9c598fbdf9
commit
3fb99988d5
13 changed files with 28 additions and 31 deletions
|
|
@ -13,7 +13,7 @@ generate_element_with_text!(URI, "uri", MEDIA_ELEMENT,
|
|||
uri: TrimmedPlainText<String>
|
||||
);
|
||||
|
||||
generate_element_with_children!(MediaElement, "media", MEDIA_ELEMENT,
|
||||
generate_element!(MediaElement, "media", MEDIA_ELEMENT,
|
||||
attributes: [
|
||||
width: Option<usize> = "width" => optional,
|
||||
height: Option<usize> = "height" => optional
|
||||
|
|
|
|||
Loading…
Reference in a new issue