From c37a345dc9f4dda6ea29c42f96f6c7201c42cbac Mon Sep 17 00:00:00 2001 From: chansuke Date: Tue, 18 Sep 2018 23:24:15 +0900 Subject: Format script component --- components/script/task_source/mod.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'components/script/task_source/mod.rs') 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( - &self, - task: T, - canceller: &TaskCanceller, - ) -> Result<(), ()> + fn queue_with_canceller(&self, task: T, canceller: &TaskCanceller) -> Result<(), ()> where T: TaskOnce + 'static; -- cgit v1.2.3