aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/element.rs
diff options
context:
space:
mode:
authorbors-servo <metajack+bors@gmail.com>2015-06-10 08:23:11 -0600
committerbors-servo <metajack+bors@gmail.com>2015-06-10 08:23:11 -0600
commit35000a9b854dc0989cc473aaec0ea8c082521c66 (patch)
tree343e093c558f3da85e57f3dae7ed18da97146034 /components/script/dom/element.rs
parentc86e461555902ad88d25163724798b333d21c0ef (diff)
parent4f47b41fa7124dd9078b497e0fb3379027f405e6 (diff)
downloadservo-35000a9b854dc0989cc473aaec0ea8c082521c66.tar.gz
servo-35000a9b854dc0989cc473aaec0ea8c082521c66.zip
Auto merge of #6317 - frewsxcv:rm-util-crate-reexports, r=Ms2ger
The util component specified fnv and smallvec as dependencies and publicly reexported both of them. Several other components utilized these reexports, presumably because fnv and smallvec used to live in the tree so reexporting made the transition easier. These indirect dependencies through the util component are unnecessary. This commit removes the fnv & smallvec crate reexports in the util component. It exchange, it adds fnv & smallvec as dependencies to non-util components wherever needed. Finally, it removes the fnv dependency from util as it is not utilized anywhere in the util component. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6317) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/element.rs')
-rw-r--r--components/script/dom/element.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs
index b30e7006160..67b8d3e1d25 100644
--- a/components/script/dom/element.rs
+++ b/components/script/dom/element.rs
@@ -61,6 +61,7 @@ use dom::nodelist::NodeList;
use dom::virtualmethods::{VirtualMethods, vtable_for};
use devtools_traits::AttrInfo;
+use smallvec::VecLike;
use style;
use style::legacy::{UnsignedIntegerAttribute, from_declaration};
use style::properties::{PropertyDeclarationBlock, PropertyDeclaration, parse_style_attribute};
@@ -70,7 +71,6 @@ use style::values::CSSFloat;
use style::values::specified::{self, CSSColor, CSSRGBA};
use util::geometry::Au;
use util::namespace;
-use util::smallvec::VecLike;
use util::str::{DOMString, LengthOrPercentageOrAuto};
use cssparser::Color;