mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -126,7 +126,8 @@ impl Actor for ConsoleActor {
|
|||
self.pipeline,
|
||||
message_types,
|
||||
chan,
|
||||
)).unwrap();
|
||||
))
|
||||
.unwrap();
|
||||
let messages = port
|
||||
.recv()
|
||||
.map_err(|_| ())?
|
||||
|
@ -135,7 +136,8 @@ impl Actor for ConsoleActor {
|
|||
let json_string = message.encode().unwrap();
|
||||
let json = serde_json::from_str::<Value>(&json_string).unwrap();
|
||||
json.as_object().unwrap().to_owned()
|
||||
}).collect();
|
||||
})
|
||||
.collect();
|
||||
|
||||
let msg = GetCachedMessagesReply {
|
||||
from: self.name(),
|
||||
|
@ -196,7 +198,8 @@ impl Actor for ConsoleActor {
|
|||
self.pipeline,
|
||||
input.clone(),
|
||||
chan,
|
||||
)).unwrap();
|
||||
))
|
||||
.unwrap();
|
||||
|
||||
//TODO: extract conversion into protocol module or some other useful place
|
||||
let result = match port.recv().map_err(|_| ())? {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue