aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source/file_reading.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-09-20 09:40:53 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-09-20 09:40:53 +0200
commitf088b708c93e0a131cbfccf5c9b3797018f1c4ee (patch)
treed75727ac812624a7bee2b0bb827616af0540d99b /components/script/task_source/file_reading.rs
parent8000efac75c96f87a5e242be84b246f98a1b61e5 (diff)
downloadservo-f088b708c93e0a131cbfccf5c9b3797018f1c4ee.tar.gz
servo-f088b708c93e0a131cbfccf5c9b3797018f1c4ee.zip
Make Task require Send
Diffstat (limited to 'components/script/task_source/file_reading.rs')
-rw-r--r--components/script/task_source/file_reading.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/task_source/file_reading.rs b/components/script/task_source/file_reading.rs
index 1d44a4087d6..111f07ddba1 100644
--- a/components/script/task_source/file_reading.rs
+++ b/components/script/task_source/file_reading.rs
@@ -25,7 +25,7 @@ impl TaskSource for FileReadingTaskSource {
canceller: &TaskCanceller,
) -> Result<(), ()>
where
- T: Send + Task + 'static,
+ T: Task + 'static,
{
self.0.send(CommonScriptMsg::Task(
ScriptThreadEventCategory::FileRead,