diff options
author | Adam Szopa <adam@szopa.org.pl> | 2015-10-21 01:00:58 +0200 |
---|---|---|
committer | Adam Szopa <adam@szopa.org.pl> | 2015-10-21 01:27:48 +0200 |
commit | 88991013ab8f5cf2a3b37d794fcd1699264e8f39 (patch) | |
tree | 8ff70c9d7c68211f3d5ba63ce82768e0feab081f /components/script/dom/htmlareaelement.rs | |
parent | 11d23a41b31c2b2846d1e9c6b40e87ba7e2a095f (diff) | |
download | servo-88991013ab8f5cf2a3b37d794fcd1699264e8f39.tar.gz servo-88991013ab8f5cf2a3b37d794fcd1699264e8f39.zip |
Remove explicit lifetimes which can be elided.
Diffstat (limited to 'components/script/dom/htmlareaelement.rs')
-rw-r--r-- | components/script/dom/htmlareaelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlareaelement.rs b/components/script/dom/htmlareaelement.rs index bb17cdb0ad3..d03e0045c8f 100644 --- a/components/script/dom/htmlareaelement.rs +++ b/components/script/dom/htmlareaelement.rs @@ -41,7 +41,7 @@ impl HTMLAreaElement { } impl VirtualMethods for HTMLAreaElement { - 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) } |