aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/task_source/mod.rs')
-rw-r--r--components/script/task_source/mod.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/components/script/task_source/mod.rs b/components/script/task_source/mod.rs
index 4dbf0a61c37..a38607bfe98 100644
--- a/components/script/task_source/mod.rs
+++ b/components/script/task_source/mod.rs
@@ -2,7 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
pub mod dom_manipulation;
pub mod file_reading;
pub mod history_traversal;
@@ -42,11 +41,7 @@ impl TaskSourceName {
pub trait TaskSource {
const NAME: TaskSourceName;
- fn queue_with_canceller<T>(
- &self,
- task: T,
- canceller: &TaskCanceller,
- ) -> Result<(), ()>
+ fn queue_with_canceller<T>(&self, task: T, canceller: &TaskCanceller) -> Result<(), ()>
where
T: TaskOnce + 'static;