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/htmlcanvaselement.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/htmlcanvaselement.rs')
-rw-r--r-- | components/script/dom/htmlcanvaselement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlcanvaselement.rs b/components/script/dom/htmlcanvaselement.rs index 2fffe51134f..620c5749073 100644 --- a/components/script/dom/htmlcanvaselement.rs +++ b/components/script/dom/htmlcanvaselement.rs @@ -263,7 +263,7 @@ impl HTMLCanvasElementMethods for HTMLCanvasElement { } impl VirtualMethods for HTMLCanvasElement { - fn super_type<'b>(&'b self) -> Option<&'b VirtualMethods> { + fn super_type(&self) -> Option<&VirtualMethods> { let element: &HTMLElement = HTMLElementCast::from_ref(self); Some(element as &VirtualMethods) } |