mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
refactor: use is_zero() instead of comparing with Au::Zero() (#36347)
Use `is_zero()` instead of comparing with `Au::Zero()` for zero checks. Testing: This change does not cause behaviour change, a test is not necessary. Fixes: #36300 --------- Signed-off-by: Barigbue <barigbuenbira@gmail.com>
This commit is contained in:
parent
2fe57cc2a2
commit
a0730d7154
7 changed files with 16 additions and 14 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -4204,6 +4204,7 @@ dependencies = [
|
|||
"itertools 0.13.0",
|
||||
"log",
|
||||
"net_traits",
|
||||
"num-traits",
|
||||
"parking_lot",
|
||||
"pixels",
|
||||
"quickcheck",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue