diff --git a/src/http.rs b/src/http.rs index 7e9a14b..d726e14 100644 --- a/src/http.rs +++ b/src/http.rs @@ -116,8 +116,6 @@ impl HttpAdapter { /// Support for the [HttpAdapter] pub mod http_adapter { - use bytes::BytesMut; - use super::*; /// Options for [HttpAdapter] diff --git a/src/lib.rs b/src/lib.rs index 63c6995..8de4435 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -361,7 +361,6 @@ mod tests { use crate::mem::limited_range; use super::*; - use bytes::BytesMut; use proptest::prelude::*; use std::fmt::Debug; diff --git a/src/stats.rs b/src/stats.rs index c7bf095..8fec29e 100644 --- a/src/stats.rs +++ b/src/stats.rs @@ -488,8 +488,6 @@ where #[cfg(test)] mod tests { - use bytes::BytesMut; - use super::*; #[tokio::test] @@ -517,7 +515,7 @@ mod tests { #[tokio::test] async fn tracking_slice_writer() { - let mut writer = TrackingSliceWriter::new(BytesMut::new()); + let mut writer = TrackingSliceWriter::new(Vec::new()); writer.write_at(0, &[1, 2, 3]).await.unwrap(); writer.write_at(10, &[1, 2, 3]).await.unwrap(); writer