From 1790c4f30f6e5197d739dec8757faced7360ac6c Mon Sep 17 00:00:00 2001 From: Willem Date: Wed, 22 Apr 2020 09:44:26 +0200 Subject: [PATCH] indexmap: expose PowerOfTwo, Bucket and Pos This change allows the create custom structs with size arguments outside the heapless crate itself. --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 221e169c..4d95fe24 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -76,9 +76,9 @@ #![deny(warnings)] pub use binary_heap::BinaryHeap; -pub use generic_array::typenum::consts; +pub use generic_array::typenum::{consts, PowerOfTwo}; pub use generic_array::ArrayLength; -pub use indexmap::{FnvIndexMap, IndexMap}; +pub use indexmap::{Bucket, FnvIndexMap, IndexMap, Pos}; pub use indexset::{FnvIndexSet, IndexSet}; pub use linear_map::LinearMap; pub use string::String;