mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Make Task require Send
This commit is contained in:
parent
8000efac75
commit
f088b708c9
10 changed files with 25 additions and 21 deletions
|
@ -44,7 +44,7 @@ pub enum CommonScriptMsg {
|
|||
/// supplied channel.
|
||||
CollectReports(ReportsChan),
|
||||
/// Generic message that encapsulates event handling.
|
||||
Task(ScriptThreadEventCategory, Box<Task + Send>),
|
||||
Task(ScriptThreadEventCategory, Box<Task>),
|
||||
}
|
||||
|
||||
impl fmt::Debug for CommonScriptMsg {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue