Remove an unused lifetime parameter

This commit is contained in:
Cameron Zwarich 2014-09-30 21:20:14 -07:00
parent 79b4ec99b4
commit 8b0361e251

View file

@ -987,7 +987,7 @@ impl<'a> style::TElement<'a> for JSRef<'a, Element> {
let node: JSRef<Node> = NodeCast::from_ref(self); let node: JSRef<Node> = NodeCast::from_ref(self);
node.get_hover_state() node.get_hover_state()
} }
fn get_id<'a>(self) -> Option<Atom> { fn get_id(self) -> Option<Atom> {
self.get_attribute(ns!(""), "id").map(|attr| { self.get_attribute(ns!(""), "id").map(|attr| {
let attr = attr.root(); let attr = attr.root();
match *attr.value() { match *attr.value() {