aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlbaseelement.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/htmlbaseelement.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/htmlbaseelement.rs')
-rw-r--r--components/script/dom/htmlbaseelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlbaseelement.rs b/components/script/dom/htmlbaseelement.rs
index 9fb36ae44d5..0708d16e2dd 100644
--- a/components/script/dom/htmlbaseelement.rs
+++ b/components/script/dom/htmlbaseelement.rs
@@ -60,7 +60,7 @@ impl HTMLBaseElement {
}
impl VirtualMethods for HTMLBaseElement {
- fn super_type<'b>(&'b self) -> Option<&'b VirtualMethods> {
+ fn super_type(&self) -> Option<&VirtualMethods> {
Some(HTMLElementCast::from_ref(self) as &VirtualMethods)
}