Skip to content

Commit d6b3c85

Browse files
committed
Applied more clippy hints
1 parent 9341666 commit d6b3c85

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

color/tests.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

55
use super::*;
6-
use crate::{Color, ColorParser, PredefinedColorSpace, RgbaLegacy};
7-
use cssparser::{Parser, ParserInput};
8-
use serde_json::{self, json, Value};
6+
use cssparser::ParserInput;
7+
use serde_json::{json, Value};
98

109
fn almost_equals(a: &Value, b: &Value) -> bool {
1110
match (a, b) {

src/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#[cfg(feature = "bench")]
66
extern crate test;
77

8-
use serde_json::{self, json, Map, Value};
8+
use serde_json::{json, Map, Value};
99

1010
#[cfg(feature = "bench")]
1111
use self::test::Bencher;

0 commit comments

Comments
 (0)