Skip to content

Commit

Permalink
fix import confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
rklaehn committed Apr 9, 2024
1 parent 414420b commit 3fb04c8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ impl HttpAdapter {

/// Support for the [HttpAdapter]
pub mod http_adapter {
use bytes::BytesMut;

use super::*;

/// Options for [HttpAdapter]
Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ mod tests {
use crate::mem::limited_range;

use super::*;
use bytes::BytesMut;
use proptest::prelude::*;
use std::fmt::Debug;

Expand Down
4 changes: 1 addition & 3 deletions src/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,6 @@ where

#[cfg(test)]
mod tests {
use bytes::BytesMut;

use super::*;

#[tokio::test]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 3fb04c8

Please sign in to comment.