Skip to content

Commit

Permalink
Fix no_std amiguities
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianmarco Garrisi committed Aug 9, 2024
1 parent e225d1b commit 057b819
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/double_priority_queue/iterators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
5 changes: 1 addition & 4 deletions src/priority_queue/iterators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 057b819

Please sign in to comment.