aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/attr.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-04-20 15:11:41 +0200
committerMs2ger <Ms2ger@gmail.com>2016-04-20 15:11:41 +0200
commit0f2b83ca0f54f91d53e3d1c8df0f4bab2d400bb1 (patch)
treea17c761e6c05e07cab79728a348498531d2f4a57 /components/style/attr.rs
parentff042fdf9c368974517ae1c9ebe0fa41bccc944e (diff)
downloadservo-0f2b83ca0f54f91d53e3d1c8df0f4bab2d400bb1.tar.gz
servo-0f2b83ca0f54f91d53e3d1c8df0f4bab2d400bb1.zip
Use num-traits in style.
Diffstat (limited to 'components/style/attr.rs')
-rw-r--r--components/style/attr.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/attr.rs b/components/style/attr.rs
index 43652c3dc8a..363c5b44f52 100644
--- a/components/style/attr.rs
+++ b/components/style/attr.rs
@@ -5,7 +5,7 @@
use app_units::Au;
use cssparser::{self, Color, RGBA};
use euclid::num::Zero;
-use num::ToPrimitive;
+use num_traits::ToPrimitive;
use std::ascii::AsciiExt;
use std::ops::Deref;
use std::str::FromStr;