aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/tests/floats.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_2020/tests/floats.rs')
-rw-r--r--components/layout_2020/tests/floats.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout_2020/tests/floats.rs b/components/layout_2020/tests/floats.rs
index 1d1fb93d2c2..8c5cd019a0c 100644
--- a/components/layout_2020/tests/floats.rs
+++ b/components/layout_2020/tests/floats.rs
@@ -302,7 +302,7 @@ fn test_tree_range_setting() {
quickcheck::quickcheck(f);
fn check(bands: Vec<FloatBandWrapper>, ranges: Vec<FloatRangeInput>) {
let mut tree = FloatBandTree::new();
- for FloatBandWrapper(ref band) in &bands {
+ for FloatBandWrapper(band) in &bands {
tree = tree.insert(*band);
}