From d553bfefbb9e534a333640fdcc82ecad89adfcbf Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Wed, 18 Mar 2015 19:29:48 +0100 Subject: [PATCH] Fix warnings in style. --- components/style/lib.rs | 2 +- components/style/selector_matching.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/lib.rs b/components/style/lib.rs index 32e4a3bf3ef..76a0cbb6866 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -2,11 +2,11 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#![feature(alloc)] #![feature(plugin)] #![feature(int_uint)] #![feature(box_syntax)] #![feature(core)] -#![feature(std_misc)] #![feature(collections)] #![feature(rustc_private)] diff --git a/components/style/selector_matching.rs b/components/style/selector_matching.rs index bc74eb1c122..7ada9b7fdb8 100644 --- a/components/style/selector_matching.rs +++ b/components/style/selector_matching.rs @@ -9,7 +9,7 @@ use selectors::matching::{SelectorMap, Rule}; use selectors::matching::DeclarationBlock as GenericDeclarationBlock; use selectors::parser::PseudoElement; use selectors::smallvec::VecLike; -use selectors::tree::{TNode, TElement}; +use selectors::tree::TNode; use util::resource_files::read_resource_file; use legacy::PresentationalHintSynthesis;