mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +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
|
@ -270,7 +270,7 @@ pub type IpcSendResult = Result<(), IpcError>;
|
|||
/// used by net_traits::ResourceThreads to ease the use its IpcSender sub-fields
|
||||
/// XXX: If this trait will be used more in future, some auto derive might be appealing
|
||||
pub trait IpcSend<T>
|
||||
where T: serde::Serialize + serde::Deserialize,
|
||||
where T: serde::Serialize + for<'de> serde::Deserialize<'de>,
|
||||
{
|
||||
/// send message T
|
||||
fn send(&self, T) -> IpcSendResult;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue