macros: Rename generate_element_with_only_attributes!() into generate_element!().
This commit is contained in:
parent
ef227c4617
commit
9c598fbdf9
16 changed files with 80 additions and 52 deletions
|
|
@ -6,7 +6,8 @@
|
|||
|
||||
use jid::Jid;
|
||||
|
||||
generate_element_with_only_attributes!(Stream, "stream", STREAM, [
|
||||
generate_element!(Stream, "stream", STREAM,
|
||||
attributes: [
|
||||
from: Option<Jid> = "from" => optional,
|
||||
to: Option<Jid> = "to" => optional,
|
||||
id: Option<String> = "id" => optional,
|
||||
|
|
|
|||
Loading…
Reference in a new issue