mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +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
|
@ -479,7 +479,7 @@ const WARNINGS_BUFFER_SIZE: usize = 32;
|
|||
/// but does not panic on deserializtion errors.
|
||||
fn route_ipc_receiver_to_new_mpsc_receiver_preserving_errors<T>(ipc_receiver: IpcReceiver<T>)
|
||||
-> Receiver<Result<T, IpcError>>
|
||||
where T: Deserialize + Serialize + Send + 'static
|
||||
where T: for<'de> Deserialize<'de> + Serialize + Send + 'static
|
||||
{
|
||||
let (mpsc_sender, mpsc_receiver) = channel();
|
||||
ROUTER.add_route(ipc_receiver.to_opaque(), Box::new(move |message| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue