mirror of
https://github.com/servo/servo.git
synced 2025-10-11 14:00:28 +01:00
Upgrade to latest Rust.
This commit is contained in:
parent
56dd5b943e
commit
f5b5b337d3
99 changed files with 269 additions and 253 deletions
|
@ -24,7 +24,7 @@ pub enum ExceptionHandling {
|
|||
RethrowExceptions
|
||||
}
|
||||
|
||||
#[deriving(Clone,Eq,Encodable)]
|
||||
#[deriving(Clone,PartialEq,Encodable)]
|
||||
pub struct CallbackFunction {
|
||||
object: CallbackObject
|
||||
}
|
||||
|
@ -39,13 +39,13 @@ impl CallbackFunction {
|
|||
}
|
||||
}
|
||||
|
||||
#[deriving(Clone,Eq,Encodable)]
|
||||
#[deriving(Clone,PartialEq,Encodable)]
|
||||
pub struct CallbackInterface {
|
||||
object: CallbackObject
|
||||
}
|
||||
|
||||
#[allow(raw_pointer_deriving)]
|
||||
#[deriving(Clone,Eq,Encodable)]
|
||||
#[deriving(Clone,PartialEq,Encodable)]
|
||||
struct CallbackObject {
|
||||
callback: Traceable<*mut JSObject>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue