Skip to content

Commit

Permalink
Allow unused imports that are actually used.
Browse files Browse the repository at this point in the history
They're used in other test files.
  • Loading branch information
nihohit authored and barshaul committed Dec 31, 2023
1 parent b8b28cf commit dee2b3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions redis/tests/support/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,21 @@ mod cluster;
mod mock_cluster;

mod util;
#[allow(unused_imports)]
pub use self::util::*;

#[cfg(any(feature = "cluster", feature = "cluster-async"))]
pub use self::cluster::*;

#[cfg(any(feature = "cluster", feature = "cluster-async"))]
#[allow(unused_imports)]
pub use self::mock_cluster::*;

#[cfg(feature = "sentinel")]
mod sentinel;

#[cfg(feature = "sentinel")]
#[allow(unused_imports)]
pub use self::sentinel::*;

#[derive(PartialEq)]
Expand Down

0 comments on commit dee2b3f

Please sign in to comment.