Use newtypes for units Px, Pct, and Auto #112
26.76% of diff hit (target 3.72%)
View this Pull Request on Codecov
26.76% of diff hit (target 3.72%)
Annotations
Check warning on line 171 in src/context.rs
codecov / codecov/patch
src/context.rs#L171
Added line #L171 was not covered by tests
Check warning on line 174 in src/context.rs
codecov / codecov/patch
src/context.rs#L174
Added line #L174 was not covered by tests
Check warning on line 329 in src/style.rs
codecov / codecov/patch
src/style.rs#L328-L329
Added lines #L328 - L329 were not covered by tests
Check warning on line 333 in src/style.rs
codecov / codecov/patch
src/style.rs#L332-L333
Added lines #L332 - L333 were not covered by tests
Check warning on line 336 in src/style.rs
codecov / codecov/patch
src/style.rs#L336
Added line #L336 was not covered by tests
Check warning on line 341 in src/style.rs
codecov / codecov/patch
src/style.rs#L340-L341
Added lines #L340 - L341 were not covered by tests
Check warning on line 345 in src/style.rs
codecov / codecov/patch
src/style.rs#L344-L345
Added lines #L344 - L345 were not covered by tests
Check warning on line 349 in src/style.rs
codecov / codecov/patch
src/style.rs#L348-L349
Added lines #L348 - L349 were not covered by tests
Check warning on line 355 in src/style.rs
codecov / codecov/patch
src/style.rs#L354-L355
Added lines #L354 - L355 were not covered by tests
Check warning on line 361 in src/style.rs
codecov / codecov/patch
src/style.rs#L360-L361
Added lines #L360 - L361 were not covered by tests
Check warning on line 365 in src/style.rs
codecov / codecov/patch
src/style.rs#L364-L365
Added lines #L364 - L365 were not covered by tests
Check warning on line 369 in src/style.rs
codecov / codecov/patch
src/style.rs#L368-L369
Added lines #L368 - L369 were not covered by tests
Check warning on line 375 in src/style.rs
codecov / codecov/patch
src/style.rs#L374-L375
Added lines #L374 - L375 were not covered by tests
Check warning on line 381 in src/style.rs
codecov / codecov/patch
src/style.rs#L380-L381
Added lines #L380 - L381 were not covered by tests
Check warning on line 385 in src/style.rs
codecov / codecov/patch
src/style.rs#L384-L385
Added lines #L384 - L385 were not covered by tests
Check warning on line 394 in src/style.rs
codecov / codecov/patch
src/style.rs#L393-L394
Added lines #L393 - L394 were not covered by tests
Check warning on line 400 in src/style.rs
codecov / codecov/patch
src/style.rs#L399-L400
Added lines #L399 - L400 were not covered by tests
Check warning on line 405 in src/style.rs
codecov / codecov/patch
src/style.rs#L404-L405
Added lines #L404 - L405 were not covered by tests
Check warning on line 409 in src/style.rs
codecov / codecov/patch
src/style.rs#L408-L409
Added lines #L408 - L409 were not covered by tests
Check warning on line 413 in src/style.rs
codecov / codecov/patch
src/style.rs#L412-L413
Added lines #L412 - L413 were not covered by tests
Check warning on line 417 in src/style.rs
codecov / codecov/patch
src/style.rs#L416-L417
Added lines #L416 - L417 were not covered by tests
Check warning on line 426 in src/style.rs
codecov / codecov/patch
src/style.rs#L421-L426
Added lines #L421 - L426 were not covered by tests
Check warning on line 434 in src/style.rs
codecov / codecov/patch
src/style.rs#L429-L434
Added lines #L429 - L434 were not covered by tests
Check warning on line 440 in src/style.rs
codecov / codecov/patch
src/style.rs#L438-L440
Added lines #L438 - L440 were not covered by tests
Check warning on line 445 in src/style.rs
codecov / codecov/patch
src/style.rs#L443-L445
Added lines #L443 - L445 were not covered by tests