Fix the name in create_empty_element.

This commit is contained in:
Emmanuel Gil Peyrot 2017-10-31 17:55:27 +00:00
commit b5e41a7074

View file

@ -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()
} }