aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source/networking.rs
diff options
context:
space:
mode:
authorfaineance <faineance@users.noreply.github.com>2016-03-27 13:29:06 +0100
committerfaineance <faineance@users.noreply.github.com>2016-03-27 13:54:41 +0100
commit7c45a4fea031ac97400c6b8416a7b4b897bd0f52 (patch)
treee32c20556acb9c121033614eede6d4f2040e1709 /components/script/task_source/networking.rs
parent418842faf9135da4b70b12fd8b88bc6b8d504cfc (diff)
downloadservo-7c45a4fea031ac97400c6b8416a7b4b897bd0f52.tar.gz
servo-7c45a4fea031ac97400c6b8416a7b4b897bd0f52.zip
change changes effecting verbosity
Diffstat (limited to 'components/script/task_source/networking.rs')
-rw-r--r--components/script/task_source/networking.rs3
1 files changed, 1 insertions, 2 deletions
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())
}
}