diff options
author | faineance <faineance@users.noreply.github.com> | 2016-03-27 13:29:06 +0100 |
---|---|---|
committer | faineance <faineance@users.noreply.github.com> | 2016-03-27 13:54:41 +0100 |
commit | 7c45a4fea031ac97400c6b8416a7b4b897bd0f52 (patch) | |
tree | e32c20556acb9c121033614eede6d4f2040e1709 /components/script/task_source | |
parent | 418842faf9135da4b70b12fd8b88bc6b8d504cfc (diff) | |
download | servo-7c45a4fea031ac97400c6b8416a7b4b897bd0f52.tar.gz servo-7c45a4fea031ac97400c6b8416a7b4b897bd0f52.zip |
change changes effecting verbosity
Diffstat (limited to 'components/script/task_source')
-rw-r--r-- | components/script/task_source/dom_manipulation.rs | 3 | ||||
-rw-r--r-- | components/script/task_source/file_reading.rs | 3 | ||||
-rw-r--r-- | components/script/task_source/history_traversal.rs | 3 | ||||
-rw-r--r-- | components/script/task_source/networking.rs | 3 | ||||
-rw-r--r-- | components/script/task_source/user_interaction.rs | 3 |
5 files changed, 5 insertions, 10 deletions
diff --git a/components/script/task_source/dom_manipulation.rs b/components/script/task_source/dom_manipulation.rs index 84ec1ca5e78..9676ade6ded 100644 --- a/components/script/task_source/dom_manipulation.rs +++ b/components/script/task_source/dom_manipulation.rs @@ -20,8 +20,7 @@ impl TaskSource<DOMManipulationTask> for DOMManipulationTaskSource { } fn clone(&self) -> Box<TaskSource<DOMManipulationTask> + Send> { - let ref chan = self.0; - box DOMManipulationTaskSource((*chan).clone()) + box DOMManipulationTaskSource((&self.0).clone()) } } diff --git a/components/script/task_source/file_reading.rs b/components/script/task_source/file_reading.rs index a9813167e34..30e9530a76d 100644 --- a/components/script/task_source/file_reading.rs +++ b/components/script/task_source/file_reading.rs @@ -14,7 +14,6 @@ impl ScriptChan for FileReadingTaskSource { } fn clone(&self) -> Box<ScriptChan + Send> { - let ref chan = self.0; - box FileReadingTaskSource((*chan).clone()) + box FileReadingTaskSource((&self.0).clone()) } } diff --git a/components/script/task_source/history_traversal.rs b/components/script/task_source/history_traversal.rs index d4fb64864a3..c2d276e6eec 100644 --- a/components/script/task_source/history_traversal.rs +++ b/components/script/task_source/history_traversal.rs @@ -14,7 +14,6 @@ impl ScriptChan for HistoryTraversalTaskSource { } fn clone(&self) -> Box<ScriptChan + Send> { - let ref chan = self.0; - box HistoryTraversalTaskSource((*chan).clone()) + box HistoryTraversalTaskSource((&self.0).clone()) } } diff --git a/components/script/task_source/networking.rs b/components/script/task_source/networking.rs index 29a5997475e..83160468395 100644 --- a/components/script/task_source/networking.rs +++ b/components/script/task_source/networking.rs @@ -14,7 +14,6 @@ impl ScriptChan for NetworkingTaskSource { } fn clone(&self) -> Box<ScriptChan + Send> { - let ref chan = self.0; - box NetworkingTaskSource((*chan).clone()) + box NetworkingTaskSource((&self.0).clone()) } } diff --git a/components/script/task_source/user_interaction.rs b/components/script/task_source/user_interaction.rs index a4a2549e63d..254b0d008d1 100644 --- a/components/script/task_source/user_interaction.rs +++ b/components/script/task_source/user_interaction.rs @@ -14,7 +14,6 @@ impl ScriptChan for UserInteractionTaskSource { } fn clone(&self) -> Box<ScriptChan + Send> { - let ref chan = self.0; - box UserInteractionTaskSource((*chan).clone()) + box UserInteractionTaskSource((&self.0).clone()) } } |