diff --git a/src/cow_rc_str.rs b/src/cow_rc_str.rs index f89f4cda..026f49d3 100644 --- a/src/cow_rc_str.rs +++ b/src/cow_rc_str.rs @@ -12,7 +12,6 @@ use std::ops::Deref; use std::rc::Rc; use std::slice; use std::str; -use std::usize; /// A string that is either shared (heap-allocated and reference-counted) or borrowed. /// diff --git a/src/tests.rs b/src/tests.rs index 654f3f7a..4ced0a44 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -631,7 +631,6 @@ fn line_numbers() { #[test] fn overflow() { - use std::f32; use std::iter::repeat; let css = r" diff --git a/src/tokenizer.rs b/src/tokenizer.rs index 62f38683..0f51d340 100644 --- a/src/tokenizer.rs +++ b/src/tokenizer.rs @@ -9,7 +9,6 @@ use crate::cow_rc_str::CowRcStr; use crate::parser::ParserState; use matches::matches; use std::char; -use std::i32; use std::ops::Range; /// One of the pieces the CSS input is broken into.