diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-01-28 13:48:28 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-01-28 13:48:28 +0100 |
commit | f8ac1777ff9abcfcad5cb7a58ce3d7fbf61cf060 (patch) | |
tree | d1f6673bad49d35e83636a205edca0afca89afb7 /components/script/dom/htmlareaelement.rs | |
parent | cc2523eed5bdddd054ce6918e7d2d1d7d22d9286 (diff) | |
download | servo-f8ac1777ff9abcfcad5cb7a58ce3d7fbf61cf060.tar.gz servo-f8ac1777ff9abcfcad5cb7a58ce3d7fbf61cf060.zip |
Don't shadow lifetimes in script.
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 c5f0784067d..82e5ad86d15 100644 --- a/components/script/dom/htmlareaelement.rs +++ b/components/script/dom/htmlareaelement.rs @@ -51,7 +51,7 @@ impl HTMLAreaElement { } impl<'a> VirtualMethods for JSRef<'a, HTMLAreaElement> { - fn super_type<'a>(&'a self) -> Option<&'a VirtualMethods> { + fn super_type<'b>(&'b self) -> Option<&'b VirtualMethods> { let htmlelement: &JSRef<HTMLElement> = HTMLElementCast::from_borrowed_ref(self); Some(htmlelement as &VirtualMethods) } |