macros: Merge generate_element_with_children!() into generate_element!().

This commit is contained in:
Emmanuel Gil Peyrot 2018-05-28 16:45:13 +02:00
commit 3fb99988d5
13 changed files with 28 additions and 31 deletions

View file

@ -6,7 +6,7 @@
use iq::{IqGetPayload, IqResultPayload};
generate_element_with_children!(
generate_element!(
Version, "query", VERSION,
children: [
name: Required<String> = ("name", VERSION) => String,