Don't shadow lifetimes in script.

This commit is contained in:
Ms2ger 2015-01-28 13:48:28 +01:00
parent cc2523eed5
commit f8ac1777ff
29 changed files with 30 additions and 30 deletions

View file

@ -2223,7 +2223,7 @@ pub fn window_from_node<T: NodeBase+Reflectable>(derived: JSRef<T>) -> Temporary
}
impl<'a> VirtualMethods for JSRef<'a, Node> {
fn super_type<'a>(&'a self) -> Option<&'a VirtualMethods> {
fn super_type<'b>(&'b self) -> Option<&'b VirtualMethods> {
let eventtarget: &JSRef<EventTarget> = EventTargetCast::from_borrowed_ref(self);
Some(eventtarget as &VirtualMethods)
}