servo/components/script/task_source
Simon Sapin aa15dc269f Remove use of unstable box syntax.
http://www.robohornet.org gives a score of 101.36 on master,
and 102.68 with this PR. The latter is slightly better,
but probably within noise level.
So it looks like this PR does not affect DOM performance.

This is expected since `Box::new` is defined as:

```rust
impl<T> Box<T> {
    #[inline(always)]
    pub fn new(x: T) -> Box<T> {
        box x
    }
}
```

With inlining, it should compile to the same as box syntax.
2017-10-16 17:16:20 +02:00
..
dom_manipulation.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
file_reading.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
history_traversal.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
mod.rs Introduce TaskOnce 2017-09-20 10:37:09 +02:00
networking.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
performance_timeline.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00
user_interaction.rs Remove use of unstable box syntax. 2017-10-16 17:16:20 +02:00