mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fix some "unnecessary parentheses" warnings
This commit is contained in:
parent
6e3fba97bd
commit
897a5b39c5
8 changed files with 9 additions and 9 deletions
|
@ -548,7 +548,7 @@ impl SizeConstraint {
|
|||
max_size = max_size.map(|x| max(x, min_size));
|
||||
|
||||
if let Some(border) = border {
|
||||
min_size = max((min_size - border), Au(0));
|
||||
min_size = max(min_size - border, Au(0));
|
||||
max_size = max_size.map(|x| max(x - border, Au(0)));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue