aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorCullen Rhodes <rhodes.cullen@gmail.com>2016-05-22 16:32:18 +0100
committerCullen Rhodes <rhodes.cullen@gmail.com>2016-05-27 10:18:44 +0100
commit40acd24e8fef2a3c46ecdb21b4be1363d48e8ec4 (patch)
treea7786b1554ccc97240fdde367fe0ed5455c4c59f /tests
parent4dcb05ca4f521b2c5eb12000678be035465e092b (diff)
downloadservo-40acd24e8fef2a3c46ecdb21b4be1363d48e8ec4.tar.gz
servo-40acd24e8fef2a3c46ecdb21b4be1363d48e8ec4.zip
Report use statements that use {} with only one entry
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/script/dom/blob.rs2
-rw-r--r--tests/unit/style/attr.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/script/dom/blob.rs b/tests/unit/script/dom/blob.rs
index 339b1f4ba36..fa670ec28c4 100644
--- a/tests/unit/script/dom/blob.rs
+++ b/tests/unit/script/dom/blob.rs
@@ -2,7 +2,7 @@
* 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 script::dom::blob::{DataSlice};
+use script::dom::blob::DataSlice;
use std::sync::Arc;
#[test]
diff --git a/tests/unit/style/attr.rs b/tests/unit/style/attr.rs
index 19c3ba93312..7b642a5db4a 100644
--- a/tests/unit/style/attr.rs
+++ b/tests/unit/style/attr.rs
@@ -4,7 +4,7 @@
use app_units::Au;
use style::attr::{AttrValue, parse_length};
-use util::str::{LengthOrPercentageOrAuto};
+use util::str::LengthOrPercentageOrAuto;
#[test]
fn test_parse_double() {