aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/str.rs
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2016-05-17 11:24:17 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2016-05-17 17:05:18 -0700
commitaa8e214e34d56f5ecb6c06ad367b611086bcdfb5 (patch)
tree51e4978b54b0bcdee6be7cb0765cf0554c8979af /components/util/str.rs
parent6c08ad857ea4139bb266c481eebe4315bdd460d5 (diff)
downloadservo-aa8e214e34d56f5ecb6c06ad367b611086bcdfb5.tar.gz
servo-aa8e214e34d56f5ecb6c06ad367b611086bcdfb5.zip
Use num_traits in util
Diffstat (limited to 'components/util/str.rs')
-rw-r--r--components/util/str.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/str.rs b/components/util/str.rs
index 997aee8f53c..1dcce6ee14a 100644
--- a/components/util/str.rs
+++ b/components/util/str.rs
@@ -4,7 +4,7 @@
use app_units::Au;
use libc::c_char;
-use num::ToPrimitive;
+use num_traits::ToPrimitive;
use std::borrow::ToOwned;
use std::convert::AsRef;
use std::ffi::CStr;