diff options
author | chansuke <chansuke@georepublic.de> | 2018-09-18 23:24:15 +0900 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2018-09-19 17:40:47 -0400 |
commit | c37a345dc9f4dda6ea29c42f96f6c7201c42cbac (patch) | |
tree | 1f05b49bac02318455a59d5b143c186fd872bdb9 /components/script/task_source/mod.rs | |
parent | 2ca7a134736bb4759ff209c1bc0b6dc3cc1984c9 (diff) | |
download | servo-c37a345dc9f4dda6ea29c42f96f6c7201c42cbac.tar.gz servo-c37a345dc9f4dda6ea29c42f96f6c7201c42cbac.zip |
Format script component
Diffstat (limited to 'components/script/task_source/mod.rs')
-rw-r--r-- | components/script/task_source/mod.rs | 7 |
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; |