diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2013-12-10 18:00:38 -0800 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2013-12-10 18:00:38 -0800 |
commit | 1ba71432ee9c777d505399a09c352e4cde000ec1 (patch) | |
tree | 4899386a3bee2188a6a21933fa0f6b3d71bd5525 /src/components/main/layout/util.rs | |
parent | 4b3defb2825289ff47d099c87887ba990aa2bffe (diff) | |
download | servo-1ba71432ee9c777d505399a09c352e4cde000ec1.tar.gz servo-1ba71432ee9c777d505399a09c352e4cde000ec1.zip |
layout: Change `~Box` to `Box`.
63% improvement in box building on the rainbow page.
Diffstat (limited to 'src/components/main/layout/util.rs')
-rw-r--r-- | src/components/main/layout/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/util.rs b/src/components/main/layout/util.rs index 1aa222cf207..63594026e04 100644 --- a/src/components/main/layout/util.rs +++ b/src/components/main/layout/util.rs @@ -56,7 +56,7 @@ impl ElementMapping { self.entries.iter().enumerate() } - pub fn repair_for_box_changes(&mut self, old_boxes: &[~Box], new_boxes: &[~Box]) { + pub fn repair_for_box_changes(&mut self, old_boxes: &[Box], new_boxes: &[Box]) { let entries = &mut self.entries; debug!("--- Old boxes: ---"); |