mirror of
https://github.com/servo/servo.git
synced 2025-10-08 12:39:30 +01:00
Upgrade to latest Rust.
This commit is contained in:
parent
56dd5b943e
commit
f5b5b337d3
99 changed files with 269 additions and 253 deletions
|
@ -64,7 +64,7 @@ impl Reflectable for Element {
|
|||
}
|
||||
}
|
||||
|
||||
#[deriving(Eq,Encodable)]
|
||||
#[deriving(PartialEq,Encodable)]
|
||||
pub enum ElementTypeId {
|
||||
HTMLElementTypeId,
|
||||
HTMLAnchorElementTypeId,
|
||||
|
@ -773,9 +773,9 @@ pub fn get_attribute_parts(name: DOMString) -> (Option<String>, String) {
|
|||
}
|
||||
|
||||
impl<'a> VirtualMethods for JSRef<'a, Element> {
|
||||
fn super_type<'a>(&'a self) -> Option<&'a VirtualMethods:> {
|
||||
fn super_type<'a>(&'a self) -> Option<&'a VirtualMethods+> {
|
||||
let node: &JSRef<Node> = NodeCast::from_ref(self);
|
||||
Some(node as &VirtualMethods:)
|
||||
Some(node as &VirtualMethods+)
|
||||
}
|
||||
|
||||
fn after_set_attr(&self, name: DOMString, value: DOMString) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue