From 057b8197d42334cf68ad2fa187a689521996b3d6 Mon Sep 17 00:00:00 2001 From: Gianmarco Garrisi Date: Fri, 9 Aug 2024 21:47:29 +0200 Subject: [PATCH] Fix no_std amiguities --- src/double_priority_queue/iterators.rs | 5 +---- src/priority_queue/iterators.rs | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) 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;