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

@ -1155,7 +1155,7 @@ pub fn get_attribute_parts<'a>(name: &'a str) -> (Option<&'a str>, &'a str) {
}
impl<'a> VirtualMethods for JSRef<'a, Element> {
fn super_type<'a>(&'a self) -> Option<&'a VirtualMethods> {
fn super_type<'b>(&'b self) -> Option<&'b VirtualMethods> {
let node: &JSRef<Node> = NodeCast::from_borrowed_ref(self);
Some(node as &VirtualMethods)
}