diff --git a/src/double_priority_queue/iterators.rs b/src/double_priority_queue/iterators.rs index 7c29ba6..1945807 100644 --- a/src/double_priority_queue/iterators.rs +++ b/src/double_priority_queue/iterators.rs @@ -30,10 +30,7 @@ //! Usually you don't need to explicitly `use` any of the types declared here. #[cfg(not(feature = "std"))] -pub(crate) mod std { - pub use ::alloc::vec; - pub use core::*; -} +use crate::core_iterators::std; use core::hash::BuildHasher; use std::cmp::Ord; diff --git a/src/priority_queue/iterators.rs b/src/priority_queue/iterators.rs index 30f5f08..2035674 100644 --- a/src/priority_queue/iterators.rs +++ b/src/priority_queue/iterators.rs @@ -30,10 +30,7 @@ //! Usually you don't need to explicitly `use` any of the types declared here. #[cfg(not(feature = "std"))] -pub(crate) mod std { - pub use ::alloc::vec; - pub use core::*; -} +use crate::core_iterators::std; use core::hash::BuildHasher; use std::cmp::Ord;