mirror of
https://github.com/servo/servo.git
synced 2025-06-08 08:33:26 +00:00
Don't shadow lifetimes in script.
This commit is contained in:
parent
cc2523eed5
commit
f8ac1777ff
29 changed files with 30 additions and 30 deletions
|
@ -288,7 +288,7 @@ impl<'a> HTMLScriptElementHelpers for JSRef<'a, HTMLScriptElement> {
|
|||
}
|
||||
|
||||
impl<'a> VirtualMethods for JSRef<'a, HTMLScriptElement> {
|
||||
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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue