mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update serde to 0.9 (fixes #15325)
This commit is contained in:
parent
26d6c96b18
commit
fe3f4ff0c2
73 changed files with 630 additions and 604 deletions
|
@ -4,8 +4,7 @@
|
|||
|
||||
use actor::{Actor, ActorMessageStatus, ActorRegistry};
|
||||
use devtools_traits::WorkerId;
|
||||
use serde_json::Value;
|
||||
use std::collections::BTreeMap;
|
||||
use serde_json::{Map, Value};
|
||||
use std::net::TcpStream;
|
||||
|
||||
pub struct WorkerActor {
|
||||
|
@ -21,7 +20,7 @@ impl Actor for WorkerActor {
|
|||
fn handle_message(&self,
|
||||
_: &ActorRegistry,
|
||||
_: &str,
|
||||
_: &BTreeMap<String, Value>,
|
||||
_: &Map<String, Value>,
|
||||
_: &mut TcpStream) -> Result<ActorMessageStatus, ()> {
|
||||
Ok(ActorMessageStatus::Processed)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue