From bcd4d166aca22f7c4192259a55d8fdad5bc8baa8 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 28 Feb 2017 15:48:26 +0100 Subject: [PATCH] Fix unused warning --- Cargo.lock | 1 - tests/unit/style/Cargo.toml | 1 - tests/unit/style/lib.rs | 1 - tests/unit/style/str.rs | 1 - 4 files changed, 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c50a4773f98..2193e15f4a2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2773,7 +2773,6 @@ dependencies = [ "cssparser 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "euclid 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", "html5ever-atoms 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", - "matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "owning_ref 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "rayon 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/tests/unit/style/Cargo.toml b/tests/unit/style/Cargo.toml index eeb7ff58442..101cb65ab6a 100644 --- a/tests/unit/style/Cargo.toml +++ b/tests/unit/style/Cargo.toml @@ -17,7 +17,6 @@ app_units = "0.4" cssparser = {version = "0.11", features = ["heapsize"]} euclid = "0.11" html5ever-atoms = "0.2" -matches = "0.1" owning_ref = "0.2.2" parking_lot = "0.3" rayon = "0.6" diff --git a/tests/unit/style/lib.rs b/tests/unit/style/lib.rs index e9b0133538f..184ff4e1579 100644 --- a/tests/unit/style/lib.rs +++ b/tests/unit/style/lib.rs @@ -9,7 +9,6 @@ extern crate app_units; extern crate cssparser; extern crate euclid; #[macro_use] extern crate html5ever_atoms; -#[macro_use] extern crate matches; extern crate owning_ref; extern crate parking_lot; extern crate rayon; diff --git a/tests/unit/style/str.rs b/tests/unit/style/str.rs index 9625fea72a4..dafbd8fb7da 100644 --- a/tests/unit/style/str.rs +++ b/tests/unit/style/str.rs @@ -2,7 +2,6 @@ * 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/. */ -use std::borrow::Cow; use style::str::{split_html_space_chars, str_join}; #[test]