aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source/websocket.rs
diff options
context:
space:
mode:
authorchansuke <chansuke@georepublic.de>2018-09-18 23:24:15 +0900
committerJosh Matthews <josh@joshmatthews.net>2018-09-19 17:40:47 -0400
commitc37a345dc9f4dda6ea29c42f96f6c7201c42cbac (patch)
tree1f05b49bac02318455a59d5b143c186fd872bdb9 /components/script/task_source/websocket.rs
parent2ca7a134736bb4759ff209c1bc0b6dc3cc1984c9 (diff)
downloadservo-c37a345dc9f4dda6ea29c42f96f6c7201c42cbac.tar.gz
servo-c37a345dc9f4dda6ea29c42f96f6c7201c42cbac.zip
Format script component
Diffstat (limited to 'components/script/task_source/websocket.rs')
-rw-r--r--components/script/task_source/websocket.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/components/script/task_source/websocket.rs b/components/script/task_source/websocket.rs
index fbf28aeeb92..9fb1ade2b01 100644
--- a/components/script/task_source/websocket.rs
+++ b/components/script/task_source/websocket.rs
@@ -19,11 +19,7 @@ impl Clone for WebsocketTaskSource {
impl TaskSource for WebsocketTaskSource {
const NAME: TaskSourceName = TaskSourceName::Websocket;
- 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,
{