mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove an unused lifetime parameter
This commit is contained in:
parent
79b4ec99b4
commit
8b0361e251
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue