mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Bump serde to 1.0
This commit is contained in:
parent
e1bce24129
commit
76d8573393
60 changed files with 487 additions and 474 deletions
|
@ -96,8 +96,8 @@ impl Serialize for UntrustedNodeAddress {
|
|||
}
|
||||
}
|
||||
|
||||
impl Deserialize for UntrustedNodeAddress {
|
||||
fn deserialize<D: Deserializer>(d: D) -> Result<UntrustedNodeAddress, D::Error> {
|
||||
impl<'de> Deserialize<'de> for UntrustedNodeAddress {
|
||||
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<UntrustedNodeAddress, D::Error> {
|
||||
let value: usize = try!(Deserialize::deserialize(d));
|
||||
Ok(UntrustedNodeAddress::from_id(value))
|
||||
}
|
||||
|
@ -295,7 +295,7 @@ pub enum ConstellationControlMsg {
|
|||
/// The strings are key, old value and new value.
|
||||
DispatchStorageEvent(PipelineId, StorageType, ServoUrl, Option<String>, Option<String>, Option<String>),
|
||||
/// Report an error from a CSS parser for the given pipeline
|
||||
ReportCSSError(PipelineId, String, usize, usize, String),
|
||||
ReportCSSError(PipelineId, String, u32, u32, String),
|
||||
/// Reload the given page.
|
||||
Reload(PipelineId),
|
||||
/// Notifies the script thread of WebVR events.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue