aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlheadelement.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-10-20 17:30:57 -0600
committerbors-servo <metajack+bors@gmail.com>2015-10-20 17:30:57 -0600
commit941c06eb99533c6c1d55b4ad3b51804badf48a23 (patch)
tree8ff70c9d7c68211f3d5ba63ce82768e0feab081f /components/script/dom/htmlheadelement.rs
parent11d23a41b31c2b2846d1e9c6b40e87ba7e2a095f (diff)
parent88991013ab8f5cf2a3b37d794fcd1699264e8f39 (diff)
downloadservo-941c06eb99533c6c1d55b4ad3b51804badf48a23.tar.gz
servo-941c06eb99533c6c1d55b4ad3b51804badf48a23.zip
Auto merge of #8099 - Darktori:master, r=mbrubeck
Remove explicit lifetimes which can be elided Fixes https://github.com/servo/servo/issues/8069 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8099) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlheadelement.rs')
-rw-r--r--components/script/dom/htmlheadelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlheadelement.rs b/components/script/dom/htmlheadelement.rs
index cc5d3d70562..1129d273927 100644
--- a/components/script/dom/htmlheadelement.rs
+++ b/components/script/dom/htmlheadelement.rs
@@ -36,7 +36,7 @@ impl HTMLHeadElement {
}
impl VirtualMethods for HTMLHeadElement {
- fn super_type<'b>(&'b self) -> Option<&'b VirtualMethods> {
+ fn super_type(&self) -> Option<&VirtualMethods> {
let htmlelement: &HTMLElement = HTMLElementCast::from_ref(self);
Some(htmlelement as &VirtualMethods)
}