Remove usage of the deprecated box () (expr) syntax.

This commit is contained in:
Simon Sapin 2015-07-30 18:01:44 +02:00
parent 6737be1fb1
commit 2b62041997
2 changed files with 3 additions and 3 deletions

View file

@ -111,7 +111,7 @@ impl Pipeline {
new_pipeline_id: id,
subpage_id: subpage_id,
load_data: load_data.clone(),
paint_chan: box() (paint_chan.clone()) as Box<Any + Send>,
paint_chan: box paint_chan.clone() as Box<Any + Send>,
failure: failure,
pipeline_port: mem::replace(&mut pipeline_port, None).unwrap(),
layout_shutdown_chan: layout_shutdown_chan.clone(),