From b5e41a70742730de5a03bb594f8346260fdf0164 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Tue, 31 Oct 2017 17:55:27 +0000 Subject: [PATCH] Fix the name in create_empty_element. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 7eba679..ccc84f0 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -195,7 +195,7 @@ macro_rules! generate_empty_element { impl From<$elem> for Element { fn from(_: $elem) -> Element { - Element::builder("attention") + Element::builder($name) .ns($ns) .build() }