mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Silence an 'unused' warning
This commit is contained in:
parent
eda59780e9
commit
3bcf64be7b
1 changed files with 2 additions and 1 deletions
|
@ -191,7 +191,8 @@ fn compute_damage(old: &ComputedValues, new: &ComputedValues) -> ServoRestyleDam
|
||||||
// This should check every CSS property, as enumerated in the fields of
|
// This should check every CSS property, as enumerated in the fields of
|
||||||
// http://doc.servo.org/style/properties/struct.ComputedValues.html
|
// http://doc.servo.org/style/properties/struct.ComputedValues.html
|
||||||
|
|
||||||
restyle_damage_rebuild_and_reflow!(
|
// This uses short-circuiting boolean OR for its side effects and ignores the result.
|
||||||
|
let _ = restyle_damage_rebuild_and_reflow!(
|
||||||
old,
|
old,
|
||||||
new,
|
new,
|
||||||
damage,
|
damage,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue