mirror of
https://github.com/servo/servo.git
synced 2025-08-13 17:35:36 +01:00
Use num-traits in style.
This commit is contained in:
parent
ff042fdf9c
commit
0f2b83ca0f
8 changed files with 8 additions and 8 deletions
|
@ -512,7 +512,7 @@ impl MaybeNew for ViewportConstraints {
|
|||
rule: &ViewportRule)
|
||||
-> Option<ViewportConstraints>
|
||||
{
|
||||
use num::{Float, ToPrimitive};
|
||||
use num_traits::{Float, ToPrimitive};
|
||||
use std::cmp;
|
||||
|
||||
if rule.declarations.is_empty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue