Fix the name in create_empty_element.
This commit is contained in:
parent
7fa889f46e
commit
b5e41a7074
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ macro_rules! generate_empty_element {
|
||||||
|
|
||||||
impl From<$elem> for Element {
|
impl From<$elem> for Element {
|
||||||
fn from(_: $elem) -> Element {
|
fn from(_: $elem) -> Element {
|
||||||
Element::builder("attention")
|
Element::builder($name)
|
||||||
.ns($ns)
|
.ns($ns)
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue