Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Applied more clippy hints
  • Loading branch information
chipnertkj committed Apr 5, 2024
commit d6b3c85f9d82a3428a118a0b9235e19c4c8e9bf9
5 changes: 2 additions & 3 deletions color/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

use super::*;
use crate::{Color, ColorParser, PredefinedColorSpace, RgbaLegacy};
use cssparser::{Parser, ParserInput};
use serde_json::{self, json, Value};
use cssparser::ParserInput;
use serde_json::{json, Value};

fn almost_equals(a: &Value, b: &Value) -> bool {
match (a, b) {
Expand Down
2 changes: 1 addition & 1 deletion src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#[cfg(feature = "bench")]
extern crate test;

use serde_json::{self, json, Map, Value};
use serde_json::{json, Map, Value};

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