Remove an unused lifetime parameter from Element::get_attribute.

This commit is contained in:
Ms2ger 2013-11-14 19:44:13 +01:00
parent 7f13566d57
commit 871d2f796c

View file

@ -167,7 +167,7 @@ impl<'self> Element {
} }
} }
pub fn get_attribute<'a>(&'a self, pub fn get_attribute(&self,
namespace_url: Option<DOMString>, namespace_url: Option<DOMString>,
name: &str) -> Option<@mut Attr> { name: &str) -> Option<@mut Attr> {
let namespace = Namespace::from_str(namespace_url); let namespace = Namespace::from_str(namespace_url);